From: MORIOKA Tomohiko Date: Mon, 12 Oct 2020 11:59:24 +0000 (+0900) Subject: (ideographic-structure-find-chars): Support X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=6086d974a1f4ac3af6f024962ecf2ff0033d1587;p=chise%2Fids.git (ideographic-structure-find-chars): Support `ideographic-structure@apparent'. --- diff --git a/ids-find.el b/ids-find.el index d7fdfd9..2318c0d 100644 --- a/ids-find.el +++ b/ids-find.el @@ -566,8 +566,12 @@ 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))