comparison src/ChangeLog @ 107366:14ff9accfbd3

Cleanup setup of gl_state in various parts of the code. * syntax.h (SETUP_BUFFER_SYNTAX_TABLE): New macro. (SETUP_SYNTAX_TABLE, SETUP_SYNTAX_TABLE_FOR_OBJECT): * syntax.c (find_defun_start, Fchar_syntax, Fmatching_paren, skip_chars): * regex.c (regex_compile): Use it. (re_compile_pattern): Don't set gl_state.current_syntax_table since it's now set in regex_compile when/if we need it.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 10 Mar 2010 09:45:21 -0500
parents feb1bc86a749
children b4d27afff1bf
comparison
equal deleted inserted replaced
107365:cdbf4c64ae3c 107366:14ff9accfbd3
1 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Cleanup setup of gl_state in various parts of the code.
4 * syntax.h (SETUP_BUFFER_SYNTAX_TABLE): New macro.
5 (SETUP_SYNTAX_TABLE, SETUP_SYNTAX_TABLE_FOR_OBJECT):
6 * syntax.c (find_defun_start, Fchar_syntax, Fmatching_paren)
7 (skip_chars):
8 * regex.c (regex_compile): Use it.
9 (re_compile_pattern): Don't set gl_state.current_syntax_table since
10 it's now set in regex_compile when/if we need it.
11
1 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca> 12 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
2 13
3 Make it possible to C-g in a tight bytecode loop again (bug#5680). 14 Make it possible to C-g in a tight bytecode loop again (bug#5680).
4 * lisp.h (ELSE_PENDING_SIGNALS): New macro. 15 * lisp.h (ELSE_PENDING_SIGNALS): New macro.
5 (QUIT): Use it to consolidate code and remove redundancy. 16 (QUIT): Use it to consolidate code and remove redundancy.