From: tomo Date: Sat, 24 Apr 2004 19:59:21 +0000 (+0000) Subject: (mapping-table-read-file): Don't add `=>ucs' if a character's X-Git-Tag: r21-4-14-chise-0_21-26-si-vulgar^2~18 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0249edeb3b2ff29fa00be334ad4440f87a4fc9da;p=chise%2Fxemacs-chise.git (mapping-table-read-file): Don't add `=>ucs' if a character's ancestors have `=>ucs'. --- diff --git a/lisp/utf-2000/read-maps.el b/lisp/utf-2000/read-maps.el index 43f27f8..d9974c3 100644 --- a/lisp/utf-2000/read-maps.el +++ b/lisp/utf-2000/read-maps.el @@ -139,7 +139,8 @@ (char-feature chr '=>ucs))) ucs))) (if (or ucs-code (null ucs-ccs)) - (put-char-attribute chr '=>ucs ucs) + (unless (eq (char-feature chr '=>ucs) ucs) + (put-char-attribute chr '=>ucs ucs)) (unless (eq (encode-char chr ucs-ccs 'defined-only) ucs) (put-char-attribute chr ucs-ccs ucs)))))