changeset 24440:faac941ad28d

Provide skkdic-cnv. (skkdic-convert): Emit code to require skkdic-cnv at compile time. (batch-skkdic-convert): Doc fix.
author Andreas Schwab <schwab@suse.de>
date Fri, 05 Mar 1999 09:37:00 +0000
parents 56916b0de547
children 6643d1ccd5a1
files lisp/international/skkdic-cnv.el
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/skkdic-cnv.el	Fri Mar 05 02:57:13 1999 +0000
+++ b/lisp/international/skkdic-cnv.el	Fri Mar 05 09:37:00 1999 +0000
@@ -372,7 +372,7 @@
 	(set-buffer buf)
 	(insert-buffer-substring skkbuf 1 pos))
       (insert "\n"
-	      ";;; Code:\n\n")
+	      ";;; Code:\n\n(eval-when-compile (require 'skkdic-cnv))\n\n")
 
       ;; Generate the body part of working buffer.
       (set-buffer skkbuf)
@@ -425,10 +425,10 @@
 Use this from the command line, with `-batch';
 it won't work in an interactive Emacs.
 For example, invoke:
-  % emacs -batch -l skkconv -f batch-skkdic-convert SKK-JISYO.L
+  % emacs -batch -l skkdic-cnv -f batch-skkdic-convert SKK-JISYO.L
 to generate  \"skkdic.el\" from SKK dictionary file \"SKK-JISYO.L\".
 To get complete usage, invoke:
- % emacs -batch -l skkconv -f batch-skkdic-convert -h"
+ % emacs -batch -l skkdic-cnv -f batch-skkdic-convert -h"
   (defvar command-line-args-left)	; Avoid compiler warning.
   (if (not noninteractive)
       (error "`batch-skkdic-convert' should be used only with -batch"))
@@ -449,8 +449,7 @@
       (message "It takes around 10 minutes even on Sun SS20.")
       (skkdic-convert filename targetdir)
       (message "Do byte-compile the created file by:")
-      (message "  %% emacs -batch -l skkdic-cnv -f batch-byte-compile skkdic.el")
-      (message  "                 ^^^^^^^^^^^^^ -- Don't forget this option!")
+      (message "  %% emacs -batch -f batch-byte-compile skkdic.el")
       ))
   (kill-emacs 0))
 
@@ -556,4 +555,6 @@
 	   (setq l (cdr l)))
 	 map)))
 
+(provide 'skkdic-cnv)
+
 ;; skkdic-cnv.el ends here