X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fchartab.c;h=2f5c6b5185f4399426855b89f19420b5e858e98a;hb=b5e9d88fe2cc4622fceafc0ef7e802cca96be5eb;hp=2c8181a72ce46b8e357dd2cc9538949b6aaa5d4d;hpb=37af5327ea560e89b5c46895cb736a2be0246e81;p=chise%2Fxemacs-chise.git diff --git a/src/chartab.c b/src/chartab.c index 2c8181a..2f5c6b5 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -1740,8 +1740,10 @@ decode_char_table_range (Lisp_Object range, struct chartab_range *outrange) { if (EQ (range, Qt)) outrange->type = CHARTAB_RANGE_ALL; +#ifdef UTF2000 else if (EQ (range, Qnil)) outrange->type = CHARTAB_RANGE_DEFAULT; +#endif else if (CHAR_OR_CHAR_INTP (range)) { outrange->type = CHARTAB_RANGE_CHAR; @@ -3087,10 +3089,12 @@ Store character's ATTRIBUTES. (attributes)) { Lisp_Object rest = attributes; - Lisp_Object code = Fcdr (Fassq (Qucs, attributes)); + Lisp_Object code = Fcdr (Fassq (Qmap_ucs, attributes)); Lisp_Object character; if (NILP (code)) + code = Fcdr (Fassq (Qucs, attributes)); + if (NILP (code)) { while (CONSP (rest)) {