Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CHISE
tomoyo-tools
Commits
0207a088
Commit
0207a088
authored
Sep 29, 2018
by
MORIOKA Tomohiko
Browse files
(char-db-dump-shuowen): New function.
parent
4ac97ade
Changes
1
Hide whitespace changes
Inline
Side-by-side
char-db-dump.el
View file @
0207a088
...
...
@@ -157,6 +157,22 @@
(
write-region
(
point-min
)(
point-max
)
(
expand-file-name
"Oracle-Bones.el"
directory
)))))
;;;###autoload
(
defun
char-db-dump-shuowen
(
directory
)
(
interactive
"DDump Shuowen : "
)
(
let
((
coding-system-for-write
char-db-file-coding-system
)
(
code
1
)
chr
)
(
with-temp-buffer
(
insert
(
format
";; -*- coding: %s -*-\n"
char-db-file-coding-system
))
(
while
(
<=
code
52101
)
(
when
(
setq
chr
(
decode-char
'=shuowen-jiguge
code
'defined-only
))
(
insert-char-data
chr
))
(
setq
code
(
1+
code
)))
(
write-region
(
point-min
)(
point-max
)
(
expand-file-name
"ShuoWen.el"
directory
)))))
;;;###autoload
(
defun
char-db-dump-ruimoku6
(
directory
)
(
interactive
"DDump ruimoku6 : "
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment