- Don't require `alist'.
authortomo <tomo>
Mon, 31 May 2010 09:11:35 +0000 (09:11 +0000)
committertomo <tomo>
Mon, 31 May 2010 09:11:35 +0000 (09:11 +0000)
- Require `ideograph-subr'.
(ideographic-radicals): Moved to ideograph-subr.el.
(ideographic-radical): Ditto.

lisp/utf-2000/char-db-util.el

index 7538f47..e1ac1ac 100644 (file)
@@ -25,8 +25,8 @@
 
 ;;; Code:
 
-(require 'alist)
 (require 'chise-subr)
+(require 'ideograph-subr)
 
 (defconst unidata-normative-category-alist
   '(("Lu" letter       uppercase)
     ("So" symbol       other)
     ))
 
-(defconst ideographic-radicals
-  (let ((v (make-vector 215 nil))
-       (i 1))
-    (while (< i 215)
-      (aset v i (decode-char '=ucs (+ #x2EFF i)))
-      (setq i (1+ i)))
-    v))
-
-;;;###autoload
-(defun ideographic-radical (number)
-  "Return character corresponding with Kangxi-radical number."
-  (aref ideographic-radicals number))
-
 (defconst shuowen-radicals
   [?一 ?上 ?示 ?三 ?王 ?玉 ?玨 ?气 ?士 ?丨 ; 010
    ?屮 ?艸 ?蓐 ?茻 ?小 ?八 ?釆 ?半 ?牛 ?犛 ; 020