(tomoyo-modules-to-compile): Add `ideo-dump'.
[chise/tomoyo-tools.git] / ideo-dump.el
1 ;;; ideo-dump.el --- Dump utility of Ideograph-R*.el files
2
3 ;; Copyright (C) 2002 MORIOKA Tomohiko
4
5 ;; Author: MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
6 ;; Keywords: Ideographs, Character Database, UTF-2000, UCS, Unicode
7
8 ;; This file is a part of tomoyo-tools.
9
10 ;; This program is free software; you can redistribute it and/or
11 ;; modify it under the terms of the GNU General Public License as
12 ;; published by the Free Software Foundation; either version 2, or (at
13 ;; your option) any later version.
14
15 ;; This program is distributed in the hope that it will be useful, but
16 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 ;; General Public License for more details.
19
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with this program; see the file COPYING.  If not, write to
22 ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 ;; Boston, MA 02111-1307, USA.
24
25 ;;; Code:
26
27 (require 'ideograph-util)
28
29 ;;;###autoload
30 (defun char-db-dump-ideographs (directory)
31   (interactive "DDump Ideographs : ")
32   (update-ideograph-radical-table)
33   (let ((i 1))
34     (while (<= i 214)
35       (write-ideograph-radical-char-data i directory)
36       (setq i (1+ i)))))
37
38
39 ;;; @ End.
40 ;;;
41
42 (provide 'ideo-dump)
43
44 ;;; ideo-dump.el ends here