Mercurial > hg > xemacs-beta
diff src/font-lock.c @ 398:74fd4e045ea6 r21-2-29
Import from CVS: tag r21-2-29
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:13:30 +0200 |
parents | 7df0dd720c89 |
children | 697ef44129c6 |
line wrap: on
line diff
--- a/src/font-lock.c Mon Aug 13 11:12:06 2007 +0200 +++ b/src/font-lock.c Mon Aug 13 11:13:30 2007 +0200 @@ -414,8 +414,7 @@ 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; @@ -769,8 +768,14 @@ } void -vars_of_font_lock (void) +reinit_vars_of_font_lock (void) { xzero (context_cache); xzero (bol_context_cache); } + +void +vars_of_font_lock (void) +{ + reinit_vars_of_font_lock (); +}