(update-ideograph-radical-table): Check every absolute features
authortomo <tomo>
Sat, 6 Nov 2004 16:35:56 +0000 (16:35 +0000)
committertomo <tomo>
Sat, 6 Nov 2004 16:35:56 +0000 (16:35 +0000)
matched to `ideographic-radical@DOMAIN' instead of using
`char-db-feature-domains'.

lisp/utf-2000/ideograph-util.el

index c40b619..a305b39 100644 (file)
   (let (ret rret radical script dest)
     (dolist (feature
             (cons 'ideographic-radical
-                  (mapcar
-                   (lambda (domain)
-                     (intern (format "%s@%s" 'ideographic-radical domain)))
-                   char-db-feature-domains)))
+                  (progn
+                    (dolist (feature (char-attribute-list))
+                      (if (string-match "^ideographic-radical@[^@*]+$"
+                                        (symbol-name feature))
+                          (setq dest (cons feature dest))))
+                    dest)
+                   ;; (mapcar
+                   ;;  (lambda (domain)
+                   ;;    (intern (format "%s@%s" 'ideographic-radical domain)))
+                   ;;  char-db-feature-domains)
+                  ))
       (map-char-attribute
        (lambda (chr radical)
         (dolist (char (append