From c785836ddc6ac51fd46f4a476c75c3b2327cc2b0 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 18 Aug 2010 11:27:53 +0200 Subject: [PATCH] * casefiddle.c (casify_region): Setup gl_state. --- src/ChangeLog | 4 ++++ src/casefiddle.c | 2 ++ 2 files changed, 6 insertions(+) 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; -- 2.39.2