(iddef-read-buffer): Don't add `ideographic-structure' for Daikanwa
authortomo <tomo>
Sat, 15 Dec 2001 17:57:53 +0000 (17:57 +0000)
committertomo <tomo>
Sat, 15 Dec 2001 17:57:53 +0000 (17:57 +0000)
character if the Daikanwa character has a different `ucs' code point.

iddef.el

index 5638209..b49b19f 100644 (file)
--- a/iddef.el
+++ b/iddef.el
                                            (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)