From: tomo Date: Wed, 18 May 2005 19:21:08 +0000 (+0000) Subject: (www-batch-ids-find): If only one character is specified as X-Git-Tag: chise-core-0_22~27 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c19c9c5f32341054fc73ccee4c2b6b6efffcedca;p=chise%2Fids.git (www-batch-ids-find): If only one character is specified as components, display the character's IDS. --- diff --git a/www/www-ids-find.el b/www/www-ids-find.el index e48e6ea..1de3070 100644 --- a/www/www-ids-find.el +++ b/www/www-ids-find.el @@ -137,7 +137,9 @@ ;; nil) ;; 'ideographic-structure) (when (= (length components) 1) - (www-ids-find-format-line (aref components 0) nil)) + (www-ids-find-format-line (aref components 0) + (char-feature (aref components 0) + 'ideographic-structure))) (dolist (c (ideographic-products-find components)) (setq is (char-feature c 'ideographic-structure)) ;; to avoid problems caused by wrong indexes