Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1cfb415b
Commit
1cfb415b
authored
Apr 20, 2010
by
Stefan Monnier
Browse files
(view-hello-file): Don't fiddle with the default enable-multibyte-characters.
parent
283ccc18
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/international/mule-cmds.el
lisp/international/mule-cmds.el
+1
-2
No files found.
lisp/ChangeLog
View file @
1cfb415b
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.
...
...
lisp/international/mule-cmds.el
View file @
1cfb415b
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment