projects
/
chise
/
xemacs-chise.git-
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e8fb78d
)
(write-ideograph-radical-char-data): Replace ` ' in `name' by `-'.
author
tomo
<tomo>
Fri, 19 Nov 1999 16:26:44 +0000
(16:26 +0000)
committer
tomo
<tomo>
Fri, 19 Nov 1999 16:26:44 +0000
(16:26 +0000)
lisp/utf-2000/ideograph-util.el
patch
|
blob
|
history
diff --git
a/lisp/utf-2000/ideograph-util.el
b/lisp/utf-2000/ideograph-util.el
index
2b8d259
..
4907d9a
100644
(file)
--- a/
lisp/utf-2000/ideograph-util.el
+++ b/
lisp/utf-2000/ideograph-util.el
@@
-182,6
+182,10
@@
(let ((name (get-char-attribute (int-char (+ #x2EFF radical)) 'name)))
(if (string-match "KANGXI RADICAL " name)
(setq name (capitalize (substring name (match-end 0)))))
(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)
(setq file
(expand-file-name
(format "Ideograph-R%03d-%s.el" radical name)