projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(enum lrecord_type): Add `lrecord_type_uint16_byte_table' and
[chise/xemacs-chise.git-]
/
src
/
font-lock.c
diff --git
a/src/font-lock.c
b/src/font-lock.c
index
cefa0d5
..
53ea416
100644
(file)
--- a/
src/font-lock.c
+++ b/
src/font-lock.c
@@
-414,8
+414,7
@@
static void
find_context (struct buffer *buf, Bufpos pt)
{
/* This function can GC */
find_context (struct buffer *buf, Bufpos pt)
{
/* This function can GC */
- struct Lisp_Char_Table *mirrortab =
- XCHAR_TABLE (buf->mirror_syntax_table);
+ Lisp_Char_Table *mirrortab = XCHAR_TABLE (buf->mirror_syntax_table);
Lisp_Object syntaxtab = buf->syntax_table;
Emchar prev_c, c;
Bufpos target = pt;
Lisp_Object syntaxtab = buf->syntax_table;
Emchar prev_c, c;
Bufpos target = pt;
@@
-769,8
+768,14
@@
syms_of_font_lock (void)
}
void
}
void
-vars_of_font_lock (void)
+reinit_vars_of_font_lock (void)
{
xzero (context_cache);
xzero (bol_context_cache);
}
{
xzero (context_cache);
xzero (bol_context_cache);
}
+
+void
+vars_of_font_lock (void)
+{
+ reinit_vars_of_font_lock ();
+}