(char-db-insert-alist): Specify `none' as the third argument of
authortomo <tomo>
Mon, 4 Jun 2001 04:37:50 +0000 (04:37 +0000)
committertomo <tomo>
Mon, 4 Jun 2001 04:37:50 +0000 (04:37 +0000)
`insert-char-attributes' if non-CCS attributes is not specified in a
value of `char' attribute.
(insert-char-attributes): Use nil as `attributes' if non-nil-list is
specified for the argument.

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

index a9a7717..3cec543 100644 (file)
                     (setq value (cdr value)))
                   (insert-char-attributes ret
                                           readable
-                                          al cal))
+                                          (or al 'none) cal))
               (insert (prin1-to-string value)))
             (insert ")")
             (insert line-breaking))
                                    column)
   (setq attributes
        (if attributes
-           (copy-sequence attributes)
+           (if (consp attributes)
+               (copy-sequence attributes))
          (sort (char-attribute-list) #'char-attribute-name<)))
   (setq ccs-attributes
        (if ccs-attributes