From 7275ec98f3d7093d67336774d63faa799847848e Mon Sep 17 00:00:00 2001 From: tomo Date: Wed, 5 Sep 2001 09:29:45 +0000 Subject: [PATCH] (internal_self_insert): Use `buf->syntax_table' instead of `buf->mirror_syntax_table' in XEmacs UTF-2000. --- src/cmds.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cmds.c b/src/cmds.c index b30d6cd..df7ad59 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -1,5 +1,6 @@ /* Simple built-in editing commands. Copyright (C) 1985, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. + Copyright (C) 2001 MORIOKA Tomohiko This file is part of XEmacs. @@ -350,7 +351,11 @@ internal_self_insert (Emchar c1, int noautofill) int tab_width; overwrite = buf->overwrite_mode; +#ifdef UTF2000 + syntax_table = XCHAR_TABLE (buf->syntax_table); +#else syntax_table = XCHAR_TABLE (buf->mirror_syntax_table); +#endif #if 0 /* No, this is very bad, it makes undo *always* undo a character at a time -- 1.7.10.4