(insert-char-attributes): Fix format for `->uppercase', `->lowercase'
authortomo <tomo>
Thu, 12 Jul 2001 17:23:56 +0000 (17:23 +0000)
committertomo <tomo>
Thu, 12 Jul 2001 17:23:56 +0000 (17:23 +0000)
and `->titlecase'; don't insert alias of coded-charset.

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

index 4266da8..19c5078 100644 (file)
                                         ((integerp code)
                                          (format "#x%04X" code))
                                         (t
-                                         (format "%s%S" line-breaking code))))
+                                         (format "%s %S"
+                                                 line-breaking code))))
                                 value " ")
                      line-breaking))
       (setq attributes (delq '->uppercase attributes))
                                         ((integerp code)
                                          (format "#x%04X" code))
                                         (t
-                                         (format "%s%S" line-breaking code))))
+                                         (format "%s %S"
+                                                 line-breaking code))))
                                 value " ")
                      line-breaking))
       (setq attributes (delq '->lowercase attributes))
                                         ((integerp code)
                                          (format "#x%04X" code))
                                         (t
-                                         (format "%s%S" line-breaking code))))
+                                         (format "%s %S"
+                                                 line-breaking code))))
                                 value " ")
                      line-breaking))
       (setq attributes (delq '->titlecase attributes))
       (setq attributes (cdr attributes)))
     (while ccs-attributes
       (setq name (car ccs-attributes))
-      (if (setq value (get-char-attribute char name))
+      (if (and (eq name (charset-name name))
+              (setq value (get-char-attribute char name)))
          (insert
           (format
            (cond ((memq name '(ideograph-daikanwa ideograph-gt))