From: tomo Date: Wed, 5 Sep 2001 09:29:45 +0000 (+0000) Subject: (internal_self_insert): Use `buf->syntax_table' instead of X-Git-Tag: r21-2-41-syntax-1~6 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7275ec98f3d7093d67336774d63faa799847848e;p=chise%2Fxemacs-chise.git- (internal_self_insert): Use `buf->syntax_table' instead of `buf->mirror_syntax_table' in XEmacs UTF-2000. --- 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