From: tomo Date: Thu, 14 Oct 2004 16:42:47 +0000 (+0000) Subject: (update-ideograph-radical-table): Ignore a parent specified by X-Git-Tag: r21-4-15-u2km-0_21-32-a~2^2~163 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=337ee1ffb754cfdcd64ade002831cff1e3adc327;p=chise%2Fxemacs-chise.git.1 (update-ideograph-radical-table): Ignore a parent specified by `<-subsumptive' if it has `<-subsumptive'. --- diff --git a/lisp/utf-2000/ideograph-util.el b/lisp/utf-2000/ideograph-util.el index 2b880e4..c40b619 100644 --- a/lisp/utf-2000/ideograph-util.el +++ b/lisp/utf-2000/ideograph-util.el @@ -252,7 +252,7 @@ ;;;###autoload (defun update-ideograph-radical-table () (interactive) - (let (ret radical script dest) + (let (ret rret radical script dest) (dolist (feature (cons 'ideographic-radical (mapcar @@ -270,7 +270,11 @@ (unless (eq (get-char-attribute pc 'ideographic-radical) radical) - (setq dest (cons pc dest)))) + (if (setq rret + (get-char-attribute + pc '<-subsumptive)) + (setq ret (append ret rret)) + (setq dest (cons pc dest))))) dest) (list chr)) (let ((rest (append