This commit was generated by cvs2svn to compensate for changes in r2813,
[chise/xemacs-chise.git.1] / src / font-lock.c
index 6cd74d7..cefa0d5 100644 (file)
@@ -368,8 +368,8 @@ setup_context_cache (struct buffer *buf, Bufpos pt)
       /* OK, fine. */
       return;
 #if 0
-    /* This appears to cause huge slowdowns in files which have no
-       top-level forms.
+    /* This appears to cause huge slowdowns in files like
+       emacsfns.h, which have no top-level forms.
 
        In any case, it's not really necessary that we know for
        sure the top-level form we're in; if we're in a form
@@ -414,7 +414,8 @@ static void
 find_context (struct buffer *buf, Bufpos pt)
 {
   /* This function can GC */
-  Lisp_Char_Table *mirrortab = XCHAR_TABLE (buf->mirror_syntax_table);
+  struct Lisp_Char_Table *mirrortab =
+    XCHAR_TABLE (buf->mirror_syntax_table);
   Lisp_Object syntaxtab = buf->syntax_table;
   Emchar prev_c, c;
   Bufpos target = pt;
@@ -768,14 +769,8 @@ syms_of_font_lock (void)
 }
 
 void
-reinit_vars_of_font_lock (void)
+vars_of_font_lock (void)
 {
   xzero (context_cache);
   xzero (bol_context_cache);
 }
-
-void
-vars_of_font_lock (void)
-{
-  reinit_vars_of_font_lock ();
-}