From: tomo Date: Wed, 26 Dec 2001 11:15:34 +0000 (+0000) Subject: (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of `XCHARSET_UCS_MAX'; X-Git-Tag: r21-2-43-utf-2000-0_18-n3~16 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e882472f60228f3d3ae4a5e01a579b43805cc2c8;p=chise%2Fxemacs-chise.git- (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS. --- 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))