X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Futf-2000%2Fread-maps.el;h=7ae697633173833e35f330382dce79a2916dd892;hb=12cbf97f4ed82d5d151acbada59eeb4eabc30495;hp=a2a1f85ce6f477cc481ec59940ea243c94e47b1c;hpb=6fcbccb68570254a3a6cb43da0cf58c68444ddb4;p=chise%2Fxemacs-chise.git- diff --git a/lisp/utf-2000/read-maps.el b/lisp/utf-2000/read-maps.el index a2a1f85..7ae6976 100644 --- a/lisp/utf-2000/read-maps.el +++ b/lisp/utf-2000/read-maps.el @@ -136,17 +136,17 @@ UCS-REGEXP is a regular expression to match against (put-char-attribute chr ccs code)) (when (and ucs-code (not - (eq (or (encode-char chr ucs-ccs 'defined-only) - (if (memq ucs-ccs '(=ucs@jis - =ucs@jis/1990 - =ucs@jis/2000 - )) - (encode-char chr '=ucs@jis/fw - 'defined-only) - (unless (memq ucs-ccs '(=ucs@gb - ;; ucs-big5 - )) - (char-feature chr '=>ucs)))) + (eq (or + (encode-char chr ucs-ccs 'defined-only) + (cond + ((memq ucs-ccs '(=ucs@jis + =ucs@jis/1990 + =ucs@jis/2000)) + (encode-char chr '=ucs@jis/fw 'defined-only)) + ((eq ucs-ccs '=ucs@gb) + (encode-char chr '=ucs@gb/fw 'defined-only)) + (t + (char-feature chr '=>ucs)))) ucs-code))) (put-char-attribute chr ucs-ccs ucs-code)) (when (and ucs