(write-ideograph-radical-char-data): Replace ` ' in `name' by `-'.
authortomo <tomo>
Fri, 19 Nov 1999 16:26:44 +0000 (16:26 +0000)
committertomo <tomo>
Fri, 19 Nov 1999 16:26:44 +0000 (16:26 +0000)
lisp/utf-2000/ideograph-util.el

index 2b8d259..4907d9a 100644 (file)
       (let ((name (get-char-attribute (int-char (+ #x2EFF radical)) 'name)))
        (if (string-match "KANGXI RADICAL " name)
            (setq name (capitalize (substring name (match-end 0)))))
+       (setq name (mapconcat (lambda (char)
+                               (if (eq char ? )
+                                   "-"
+                                 (char-to-string char))) name ""))
        (setq file
              (expand-file-name
               (format "Ideograph-R%03d-%s.el" radical name)