From b5041b70b7f22b5d14c98641225981fbec5ea28e Mon Sep 17 00:00:00 2001 From: tomo Date: Wed, 5 Sep 2001 09:30:54 +0000 Subject: [PATCH] (find_context): Use `buf->syntax_table' instead of `buf->mirror_syntax_table' in XEmacs UTF-2000. --- src/font-lock.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/font-lock.c b/src/font-lock.c index 6cd74d7..111bd0a 100644 --- a/src/font-lock.c +++ b/src/font-lock.c @@ -1,6 +1,7 @@ /* Routines to compute the current syntactic context, for font-lock mode. Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. Copyright (C) 1995 Sun Microsystems, Inc. + Copyright (C) 2001 MORIOKA Tomohiko This file is part of XEmacs. @@ -414,7 +415,11 @@ static void find_context (struct buffer *buf, Bufpos pt) { /* This function can GC */ +#ifdef UTF2000 + Lisp_Char_Table *mirrortab = XCHAR_TABLE (buf->syntax_table); +#else Lisp_Char_Table *mirrortab = XCHAR_TABLE (buf->mirror_syntax_table); +#endif Lisp_Object syntaxtab = buf->syntax_table; Emchar prev_c, c; Bufpos target = pt; -- 1.7.10.4