(insert-char-attributes): Sort `attributes' and `ccs-attributes';
authortomo <tomo>
Mon, 2 Jul 2001 04:38:32 +0000 (04:38 +0000)
committertomo <tomo>
Mon, 2 Jul 2001 04:38:32 +0000 (04:38 +0000)
support `ideographic-different-form-of'.

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

index a2ee0ea..3b89492 100644 (file)
                                    attributes ccs-attributes
                                    column)
   (setq attributes
-       (if attributes
-           (if (consp attributes)
-               (copy-sequence attributes))
-         (sort (char-attribute-list) #'char-attribute-name<)))
+       (sort (if attributes
+                 (if (consp attributes)
+                     (copy-sequence attributes))
+               (char-attribute-list))
+             #'char-attribute-name<))
   (setq ccs-attributes
-       (if ccs-attributes
-           (copy-sequence ccs-attributes)
-         (sort (charset-list) #'char-attribute-name<)))
+       (sort (if ccs-attributes
+                 (copy-sequence ccs-attributes)
+               (charset-list))
+             #'char-attribute-name<))
   (unless column
     (setq column (current-column)))
   (let (name value has-long-ccs-name rest
                              vulgar-ideograph-of
                              wrong-ideograph-of
                              simplified-ideograph-of
-                             ideographic-variants))
+                             ideographic-variants
+                             ideographic-different-form-of))
                 (insert (format "(%-18s%s " name line-breaking))
                 (setq lbs (concat "\n" (make-string (current-column) ?\ ))
                       separator nil)