From: tomo Date: Sat, 15 Dec 2001 17:57:53 +0000 (+0000) Subject: (iddef-read-buffer): Don't add `ideographic-structure' for Daikanwa X-Git-Tag: chise-base-0_23~115 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e3cb94bae2d7e7ddafdf1a50fc89f8a4ecf48e22;p=chise%2Ftomoyo-tools.git (iddef-read-buffer): Don't add `ideographic-structure' for Daikanwa character if the Daikanwa character has a different `ucs' code point. --- diff --git a/iddef.el b/iddef.el index 5638209..b49b19f 100644 --- a/iddef.el +++ b/iddef.el @@ -66,10 +66,11 @@ (if (equal morohashi val) char)) 'morohashi-daikanwa))) - (put-char-attribute - m-chr - 'ideographic-structure - (ideographic-structure-convert-to-daikanwa struct)))) + (unless (get-char-attribute m-chr 'ucs) + (put-char-attribute + m-chr + 'ideographic-structure + (ideographic-structure-convert-to-daikanwa struct))))) (put-char-attribute char 'ideographic-structure struct) (dolist (ref (union (get-char-attribute char '->same-ideograph)