]> git.eshelyaron.com Git - emacs.git/commitdiff
Prefix for Mule related commands is changed.
authorKenichi Handa <handa@m17n.org>
Sat, 5 Apr 1997 02:35:53 +0000 (02:35 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 5 Apr 1997 02:35:53 +0000 (02:35 +0000)
(view-hello-file): Allways does correct decoding of HELLO file.

lisp/international/mule-cmds.el

index 6b7eb2add8f0ccf88446dcad5a2186188ab806f2..985bb6ec8718bd658c76880ac4e07e3241b45b46 100644 (file)
@@ -30,8 +30,8 @@
   "Keymap for MULE (Multilingual environment) specific commands.")
 (fset 'mule-prefix mule-keymap)
 
-;; Keep "C-x C-k ..." for mule specific commands.
-(define-key ctl-x-map "\C-k" 'mule-prefix)
+;; Keep "C-x C-m ..." for mule specific commands.
+(define-key ctl-x-map "\C-m" 'mule-prefix)
 
 (define-key global-map [menu-bar mule] (cons "Mule" mule-keymap))
 
@@ -119,7 +119,10 @@ With arg, make them enable iff arg is positive."
 (defun view-hello-file ()
   "Display the HELLO file which list up many languages and characters."
   (interactive)
-  (find-file-read-only (expand-file-name "HELLO" data-directory)))
+  ;; We have to decode the file in any environment.
+  (let ((default-enable-multibyte-characters t)
+       (coding-system-for-read 'iso-2022-7))
+    (find-file-read-only (expand-file-name "HELLO" data-directory))))
 
 \f
 ;;; Language support staffs.