(ideographic-structure-compact): Convert components represented by
authorMORIOKA Tomohiko <tomo.git@chise.org>
Tue, 22 Feb 2022 14:15:57 +0000 (23:15 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Wed, 23 Feb 2022 05:56:35 +0000 (14:56 +0900)
char-specs to character-objects.

ids-find.el

index 6dffafa..9684d89 100644 (file)
@@ -772,6 +772,9 @@ COMPONENT can be a character or char-spec."
        ret dest sub)
     (while rest
       (setq cell (pop rest))
+      (if (and (consp cell)
+              (setq ret (find-char cell)))
+         (setq cell ret))
       (cond
        ((and (consp cell)
             (cond ((setq ret (assq 'ideographic-structure cell))