(view-hello-file): Don't fiddle with the default enable-multibyte-characters.

This commit is contained in:
Stefan Monnier 2010-04-20 10:45:14 -04:00
parent 283ccc1841
commit 1cfb415b3b
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
* international/mule-cmds.el (view-hello-file): Don't fiddle with the
default enable-multibyte-characters.
2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
* international/mule.el: Help the user choose a valid coding-system.

View file

@ -286,8 +286,7 @@ wrong, use this command again to toggle back to the right mode."
"Display the HELLO file, which lists many languages and characters."
(interactive)
;; We have to decode the file in any environment.
(letf (((default-value 'enable-multibyte-characters) t)
(coding-system-for-read 'iso-2022-7bit))
(letf ((coding-system-for-read 'iso-2022-7bit))
(view-file (expand-file-name "HELLO" data-directory))))
(defun universal-coding-system-argument (coding-system)