From 7393ec3673a69413208c39bad66b4ac2d1d4f8da Mon Sep 17 00:00:00 2001 From: tomo Date: Fri, 4 Jun 2010 05:12:22 +0000 Subject: [PATCH] (char-ideographic-strokes-from-domains): New function [moved from ideograph-util.el]. --- lisp/utf-2000/ideograph-subr.el | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 ;;; -- 1.7.10.4