From: tomo Date: Fri, 4 Jun 2010 05:12:22 +0000 (+0000) Subject: (char-ideographic-strokes-from-domains): New function [moved from X-Git-Tag: chise-base-0_25^20~11 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7393ec3673a69413208c39bad66b4ac2d1d4f8da;p=chise%2Fxemacs-chise.git.1 (char-ideographic-strokes-from-domains): New function [moved from ideograph-util.el]. --- diff --git a/lisp/utf-2000/ideograph-subr.el b/lisp/utf-2000/ideograph-subr.el index 1ef2fcd..c8344ac 100644 --- a/lisp/utf-2000/ideograph-subr.el +++ b/lisp/utf-2000/ideograph-subr.el @@ -66,6 +66,7 @@ (throw 'tag ret)))))) char ignore-sisters)) + (defun char-ideographic-radical (char &optional radical ignore-sisters) (let (ret) (or (if radical @@ -105,6 +106,15 @@ ret))))) +;;;###autoload +(defun char-ideographic-strokes-from-domains (char domains &optional radical) + (if radical + (get-char-feature-from-domains char 'ideographic-strokes domains + 'ideographic-radical radical) + (get-char-feature-from-domains char 'ideographic-strokes domains))) + + + ;;; @ end ;;;