Must use `function-max-args' instead of `function-min-args' to detect
authortomo <tomo>
Tue, 14 Oct 2003 09:54:48 +0000 (09:54 +0000)
committertomo <tomo>
Tue, 14 Oct 2003 09:54:48 +0000 (09:54 +0000)
optional argument of `char-attribute-list'.

lisp/utf-2000/update-cdb.el

index 88c1192..9f4afab 100644 (file)
       (save-charset-mapping-table ccs))
     )
    (t
-    (if (>= (function-min-args 'char-attribute-list) 1)
+    (if (>= (function-max-args 'char-attribute-list) 1)
        (char-attribute-list 'rehash)
       (mapcar (lambda (file)
                (mount-char-attribute-table
                 (intern (file-name-char-attribute-name file))))
              (directory-files
-              (expand-file-name "system-char-id"
+              (expand-file-name "system-char-id" ; "character/feature" ;
                                 system-char-database-directory)
               nil nil t t)))
     (dolist (ccs (charset-list))