From: Stefan Monnier Date: Wed, 18 Aug 2010 09:27:53 +0000 (+0200) Subject: * casefiddle.c (casify_region): Setup gl_state. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~48^2~254 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c785836ddc6ac51fd46f4a476c75c3b2327cc2b0;p=emacs.git * casefiddle.c (casify_region): Setup gl_state. --- diff --git a/src/ChangeLog b/src/ChangeLog index 576966dfba3..aa3e239aeec 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-08-18 Stefan Monnier + + * casefiddle.c (casify_region): Setup gl_state. + 2010-08-18 Jan Djärv * nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868). diff --git a/src/casefiddle.c b/src/casefiddle.c index 815f684e26a..b6551618b2f 100644 --- a/src/casefiddle.c +++ b/src/casefiddle.c @@ -221,6 +221,8 @@ casify_region (enum case_action flag, Lisp_Object b, Lisp_Object e) start_byte = CHAR_TO_BYTE (start); end_byte = CHAR_TO_BYTE (end); + SETUP_BUFFER_SYNTAX_TABLE(); /* For syntax_prefix_flag_p. */ + while (start < end) { int c2, len;