Add `=decomposition@hanyo-denshi' for Hanyo-Denshi/JT characters.
[chise/xemacs-chise.git.1] / lisp / utf-2000 / ideograph-util.el
index 9608e52..8889ac3 100644 (file)
     (setq radical ideographic-radical))
   (let ((drc (char-representative-of-daikanwa char radical))
        (r (char-ideographic-radical char radical)))
-    (if (or (null r)
-           (= (char-ideographic-radical drc radical) r))
+    (if (and drc
+            (or (null r)
+                (= (char-ideographic-radical drc radical) r)))
        (setq char drc)))
   (char-ideographic-strokes char radical '(daikanwa)))