Mercurial > emacs
comparison lisp/international/skkdic-cnv.el @ 17098:8917133b7e82
Remove prefix "coding-system-" from coding system symbol names.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 26 Feb 1997 13:11:47 +0000 |
parents | 70194012fb3a |
children | a3ca5e15c82a |
comparison
equal
deleted
inserted
replaced
17097:c3c90aba16f9 | 17098:8917133b7e82 |
---|---|
45 ;; Name of a file to generate from SKK dictionary. | 45 ;; Name of a file to generate from SKK dictionary. |
46 (defvar skkdic-filename "skkdic.el") | 46 (defvar skkdic-filename "skkdic.el") |
47 | 47 |
48 ;; To make a generated skkdic.el smaller. | 48 ;; To make a generated skkdic.el smaller. |
49 (make-coding-system | 49 (make-coding-system |
50 'coding-system-iso-2022-7-short | 50 'iso-2022-7-short |
51 2 ?J | 51 2 ?J |
52 "Like `coding-system-iso-2022' but no ASCII designation before SPC." | 52 "Like `iso-2022-7' but no ASCII designation before SPC." |
53 '(ascii nil nil nil t t nil t)) | 53 '(ascii nil nil nil t t nil t)) |
54 | 54 |
55 (defconst skkdic-jbytes | 55 (defconst skkdic-jbytes |
56 (charset-bytes 'japanese-jisx0208)) | 56 (charset-bytes 'japanese-jisx0208)) |
57 | 57 |
416 (insert ";;\n(provide 'skkdic)\n\n;; skkdic.el ends here\n"))) | 416 (insert ";;\n(provide 'skkdic)\n\n;; skkdic.el ends here\n"))) |
417 | 417 |
418 ;; Save the working buffer. | 418 ;; Save the working buffer. |
419 (set-buffer buf) | 419 (set-buffer buf) |
420 (set-visited-file-name (expand-file-name skkdic-filename dirname) t) | 420 (set-visited-file-name (expand-file-name skkdic-filename dirname) t) |
421 (set-buffer-file-coding-system 'coding-system-iso-2022-7-short) | 421 (set-buffer-file-coding-system 'iso-2022-7-short) |
422 (save-buffer 0)) | 422 (save-buffer 0)) |
423 (kill-buffer skkbuf) | 423 (kill-buffer skkbuf) |
424 (switch-to-buffer buf))) | 424 (switch-to-buffer buf))) |
425 | 425 |
426 (defun batch-skkdic-convert () | 426 (defun batch-skkdic-convert () |