Mercurial > emacs
comparison lisp/language/japan-util.el @ 19854:c6f58c509273
(setup-japanese-environment): Give
iso-2022-jp to set-default-coding-system if not running on DOS.
(read-hiragana-string): Use input method
"japanese-hiragana".
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 10 Sep 1997 07:42:08 +0000 |
parents | 427a68b553db |
children | f510736ce3d1 |
comparison
equal
deleted
inserted
replaced
19853:89a91516559b | 19854:c6f58c509273 |
---|---|
43 coding-category-emacs-mule)) | 43 coding-category-emacs-mule)) |
44 | 44 |
45 (set-default-coding-systems | 45 (set-default-coding-systems |
46 (if (eq system-type 'ms-dos) | 46 (if (eq system-type 'ms-dos) |
47 'japanese-shift-jis | 47 'japanese-shift-jis |
48 'iso-2022-7bit)) | 48 'iso-2022-jp)) |
49 | 49 |
50 (setq default-input-method "japanese")) | 50 (setq default-input-method "japanese")) |
51 | 51 |
52 (defconst japanese-kana-table | 52 (defconst japanese-kana-table |
53 '((?$B$"(B ?$B%"(B ?(I1(B) (?$B$$(B ?$B%$(B ?(I2(B) (?$B$&(B ?$B%&(B ?(I3(B) (?$B$((B ?$B%((B ?(I4(B) (?$B$*(B ?$B%*(B ?(I5(B) | 53 '((?$B$"(B ?$B%"(B ?(I1(B) (?$B$$(B ?$B%$(B ?(I2(B) (?$B$&(B ?$B%&(B ?(I3(B) (?$B$((B ?$B%((B ?(I4(B) (?$B$*(B ?$B%*(B ?(I5(B) |
284 | 284 |
285 ;;;###autoload | 285 ;;;###autoload |
286 (defun read-hiragana-string (prompt &optional initial-input) | 286 (defun read-hiragana-string (prompt &optional initial-input) |
287 "Read a Hiragana string from the minibuffer, prompting with string PROMPT. | 287 "Read a Hiragana string from the minibuffer, prompting with string PROMPT. |
288 If non-nil, second arg INITIAL-INPUT is a string to insert before reading." | 288 If non-nil, second arg INITIAL-INPUT is a string to insert before reading." |
289 (read-multilingual-string prompt initial-input "quail-ja-hiragana")) | 289 (read-multilingual-string prompt initial-input "japanese-hiragana")) |
290 | 290 |
291 ;; | 291 ;; |
292 (provide 'japan-util) | 292 (provide 'japan-util) |
293 | 293 |
294 ;;; japan-util.el ends here | 294 ;;; japan-util.el ends here |