changeset 109836:9212e8bdf79b

* casefiddle.c (casify_region): Setup gl_state.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 18 Aug 2010 11:27:53 +0200
parents 58e44f7a82d5
children b668431e0039
files src/ChangeLog src/casefiddle.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Aug 18 10:06:45 2010 +0200
+++ b/src/ChangeLog	Wed Aug 18 11:27:53 2010 +0200
@@ -1,3 +1,7 @@
+2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* casefiddle.c (casify_region): Setup gl_state.
+
 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
 
 	* nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868).
--- a/src/casefiddle.c	Wed Aug 18 10:06:45 2010 +0200
+++ b/src/casefiddle.c	Wed Aug 18 11:27:53 2010 +0200
@@ -221,6 +221,8 @@
   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;