(iddef-read-buffer): Don't add `ideographic-structure' into a
authortomo <tomo>
Tue, 18 Dec 2001 11:26:15 +0000 (11:26 +0000)
committertomo <tomo>
Tue, 18 Dec 2001 11:26:15 +0000 (11:26 +0000)
character specified in `->same-ideograph' or `->identical' if the
character has `ucs'.

iddef.el

index b49b19f..4219b4a 100644 (file)
--- a/iddef.el
+++ b/iddef.el
@@ -81,7 +81,8 @@
                             (find-char (plist-get ref :char)))
                            (t
                             (find-char ref))))
-               (put-char-attribute ret 'ideographic-structure struct)))
+               (unless (get-char-attribute ret 'ucs)
+                 (put-char-attribute ret 'ideographic-structure struct))))
          )))))
 
 ;;;###autoload