annotate lisp/skk/make-vars.el @ 219:262b8bb4a523 r20-4b8

Import from CVS: tag r20-4b8
author cvs
date Mon, 13 Aug 2007 10:09:35 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
1 ;;
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
2 ;; make-vars.el -- make skk-vars.el
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
3 ;;
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
4
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
5 (require 'autoload)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
6
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
7 (defvar skk-foreword-file "skk-foreword.el")
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
8 (defvar skk-variable-file "skk-vars.el")
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
9 (defvar skk-autoload-cookie ";;;###skk-autoload")
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
10
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
11 (defvar skk-files
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
12 '("skk.el"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
13 "skk-auto.el"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
14 "skk-comp.el"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
15 "skk-gadget.el"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
16 "skk-isearch.el"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
17 "skk-kakasi.el"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
18 "skk-kcode.el"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
19 "skk-menu.el"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
20 "skk-num.el"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
21 "skk-server.el"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
22 "skk-tree.el"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
23 "skk-vip.el"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
24 "skk-viper.el" ))
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
25
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
26 (defun make-skk-vars ()
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
27 (interactive)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
28 (let* ((generated-autoload-file skk-variable-file)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
29 (buf (find-file-noselect generated-autoload-file))
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
30 (generate-autoload-cookie skk-autoload-cookie)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
31 (coding-system-for-write 'junet)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
32 (file-coding-system '*junet*) )
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
33 (set-buffer buf)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
34 (delete-region (point-min) (point-max))
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
35 (insert-string (format "(require '%s)\n"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
36 (file-name-sans-extension skk-foreword-file) ))
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
37 (mapcar
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
38 (function
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
39 (lambda (file)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
40 (generate-file-autoloads file)))
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
41 skk-files)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
42 (goto-char (point-max))
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
43 (insert-string (format "(provide '%s)\n"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
44 (file-name-sans-extension skk-variable-file) ))
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents:
diff changeset
45 (save-buffer)))