X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ideo-dump.el;h=1842624b32d8abbcf2ea91d329ba9092347f7902;hb=3578e474bb3d1004cef40eedd8eb9f1096f70bb8;hp=a15c43408a97cad0189d6384772c41cfaf89cd3f;hpb=0365179db7ebd24a43462a4c9c7fc2bb30169401;p=chise%2Ftomoyo-tools.git diff --git a/ideo-dump.el b/ideo-dump.el index a15c434..1842624 100644 --- a/ideo-dump.el +++ b/ideo-dump.el @@ -1,4 +1,44 @@ -(let ((i 1)) - (while (<= i 214) - (write-ideograph-radical-char-data i "/var/tmp") - (setq i (1+ i)))) \ No newline at end of file +;;; ideo-dump.el --- Dump utility of Ideograph-R*.el files + +;; Copyright (C) 2002 MORIOKA Tomohiko + +;; Author: MORIOKA Tomohiko +;; 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