From: tomo Date: Mon, 25 Nov 2002 08:46:25 +0000 (+0000) Subject: (mapping-table-read-file): Add autoload cookie and DOC-string. X-Git-Tag: r21-4-9-utf-2000-0_19-cjkc~65 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=f94206b3ce921602c6380916889ac64cb255abf0;p=chise%2Fxemacs-chise.git (mapping-table-read-file): Add autoload cookie and DOC-string. - Separate setting code to read mapping files actually. - provide 'read-maps. --- diff --git a/lisp/utf-2000/read-maps.el b/lisp/utf-2000/read-maps.el index 788410d..f75b965 100644 --- a/lisp/utf-2000/read-maps.el +++ b/lisp/utf-2000/read-maps.el @@ -24,7 +24,9 @@ ;;; Code: +;;;###autoload (defun mapping-table-read-file (filename) + "Read mapping table." (interactive "fMapping table : ") (with-temp-buffer (buffer-disable-undo) @@ -127,10 +129,7 @@ ucs))) (forward-line))))) -(dolist (file '("J90-to-UCS.txt" "JSP-to-UCS.txt" - "JX1-to-UCS.txt" "JX2-to-UCS.txt" - "C3-to-UCS.txt" ; "C4-to-UCS.txt" - "B-to-UCS.txt" "JC3-to-UCS.txt")) - (mapping-table-read-file (expand-file-name file "../etc/char-data/"))) + +(provide 'read-maps) ;;; read-maps.el ends here