aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa1997-04-05 02:35:53 +0000
committerKenichi Handa1997-04-05 02:35:53 +0000
commit8f81f78455b813f42b3bca1fd8a365308c184f2e (patch)
treeffc4a75a4049848d7a51212db89d4635e9ee656e
parent2aa72de7912eb6f93afd27a15b695434fca85c56 (diff)
downloademacs-8f81f78455b813f42b3bca1fd8a365308c184f2e.tar.gz
emacs-8f81f78455b813f42b3bca1fd8a365308c184f2e.zip
Prefix for Mule related commands is changed.
(view-hello-file): Allways does correct decoding of HELLO file.
-rw-r--r--lisp/international/mule-cmds.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 6b7eb2add8f..985bb6ec871 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -30,8 +30,8 @@
30 "Keymap for MULE (Multilingual environment) specific commands.") 30 "Keymap for MULE (Multilingual environment) specific commands.")
31(fset 'mule-prefix mule-keymap) 31(fset 'mule-prefix mule-keymap)
32 32
33;; Keep "C-x C-k ..." for mule specific commands. 33;; Keep "C-x C-m ..." for mule specific commands.
34(define-key ctl-x-map "\C-k" 'mule-prefix) 34(define-key ctl-x-map "\C-m" 'mule-prefix)
35 35
36(define-key global-map [menu-bar mule] (cons "Mule" mule-keymap)) 36(define-key global-map [menu-bar mule] (cons "Mule" mule-keymap))
37 37
@@ -119,7 +119,10 @@ With arg, make them enable iff arg is positive."
119(defun view-hello-file () 119(defun view-hello-file ()
120 "Display the HELLO file which list up many languages and characters." 120 "Display the HELLO file which list up many languages and characters."
121 (interactive) 121 (interactive)
122 (find-file-read-only (expand-file-name "HELLO" data-directory))) 122 ;; We have to decode the file in any environment.
123 (let ((default-enable-multibyte-characters t)
124 (coding-system-for-read 'iso-2022-7))
125 (find-file-read-only (expand-file-name "HELLO" data-directory))))
123 126
124 127
125;;; Language support staffs. 128;;; Language support staffs.