From e882472f60228f3d3ae4a5e01a579b43805cc2c8 Mon Sep 17 00:00:00 2001 From: tomo Date: Wed, 26 Dec 2001 11:15:34 +0000 Subject: [PATCH] (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS. --- src/chartab.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/chartab.c b/src/chartab.c index 4ff2a57..8f88a74 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -3100,7 +3100,8 @@ Store character's ATTRIBUTES. signal_simple_error ("Invalid argument", attributes); if (!NILP (ccs = Ffind_charset (Fcar (cell))) && ((XCHARSET_FINAL (ccs) != 0) || - (XCHARSET_UCS_MAX (ccs) > 0)) ) + (XCHARSET_MAX_CODE (ccs) > 0) || + (EQ (ccs, Vcharset_chinese_big5))) ) { cell = Fcdr (cell); if (CONSP (cell)) -- 1.7.10.4