(ideographic-structure-find-chars): Support
authorMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 12 Oct 2020 11:59:24 +0000 (20:59 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 12 Oct 2020 11:59:24 +0000 (20:59 +0900)
`ideographic-structure@apparent'.

ids-find.el

index d7fdfd9..2318c0d 100644 (file)
                               comp-alist)
                       (lambda (a b)
                         (< (cdr a)(cdr b))))))
-      (when (and (setq str (get-char-attribute pc 'ideographic-structure))
-                (ideographic-structure-equal str structure))
+      (when (or (and (setq str
+                          (get-char-attribute pc 'ideographic-structure))
+                    (ideographic-structure-equal str structure))
+               (and (setq str
+                          (get-char-attribute pc 'ideographic-structure@apparent))
+                    (ideographic-structure-equal str structure)))
        (setq pl (cons pc pl))
        ))
     pl))