(insert-ideograph-radical-char-data): Use `insert-char-data' with new
authortomo <tomo>
Fri, 16 Jun 2000 12:21:18 +0000 (12:21 +0000)
committertomo <tomo>
Fri, 16 Jun 2000 12:21:18 +0000 (12:21 +0000)
optional arguments `attributes' and `ccs-attributes'.

lisp/utf-2000/ideograph-util.el

index fc6e52e..87e2e21 100644 (file)
 (defun insert-ideograph-radical-char-data (radical)
   (let ((chars
         (sort (copy-list (aref ideograph-radical-chars-vector radical))
-              (function ideograph-char<))))
+              (function ideograph-char<)))
+       (attributes (sort (char-attribute-list) #'char-attribute-name<))
+       (ccs (sort (charset-list) #'char-attribute-name<)))
+    (aset ideograph-radical-chars-vector radical chars)
     (while chars
-      (insert-char-data (car chars))
+      (insert-char-data (car chars) nil attributes ccs)
       (setq chars (cdr chars)))))
 
 (defun write-ideograph-radical-char-data (radical file)