-(defvar char-dump-target-directory "/var/tmp")
+;;; ideo-dump.el --- Dump utility of Ideograph-R*.el files
-(update-ideograph-radical-table)
+;; Copyright (C) 2002 MORIOKA Tomohiko
-(let ((i 1))
- (while (<= i 214)
- (write-ideograph-radical-char-data i char-dump-target-directory)
- (setq i (1+ i))))
+;; Author: MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+;; Keywords: Ideographs, Character Database, UTF-2000, UCS, Unicode
+
+;; This file is a part of tomoyo-tools.
+
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation; either version 2, or (at
+;; your option) any later version.
+
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program; see the file COPYING. If not, write to
+;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+;; Boston, MA 02111-1307, USA.
+
+;;; Code:
+
+(require 'ideograph-util)
+
+;;;###autoload
+(defun char-db-dump-ideographs (directory)
+ (interactive "DDump Ideographs : ")
+ (update-ideograph-radical-table)
+ (let ((i 1))
+ (while (<= i 214)
+ (write-ideograph-radical-char-data i directory)
+ (setq i (1+ i)))))
+
+
+;;; @ End.
+;;;
+
+(provide 'ideo-dump)
+
+;;; ideo-dump.el ends here