From 6086d974a1f4ac3af6f024962ecf2ff0033d1587 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Mon, 12 Oct 2020 20:59:24 +0900 Subject: [PATCH] (ideographic-structure-find-chars): Support `ideographic-structure@apparent'. --- ids-find.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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)) -- 1.7.10.4