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
65c9d785
Commit
65c9d785
authored
Feb 16, 1998
by
Richard M. Stallman
Browse files
(standard-display-european): If AUTO is nil,
clear multibyte in *scratch*, and load latin-1.
parent
ef316cf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
lisp/disp-table.el
lisp/disp-table.el
+8
-3
No files found.
lisp/disp-table.el
View file @
65c9d785
...
...
@@ -186,7 +186,8 @@ codes for apostrophe and space.
With prefix argument, enable European character display iff arg is positive.
Normally, this function turns off `enable-multibyte-characters'
for all Emacs buffers, because users who call this function
for subsequently created Emacs buffers, and for `*scratch*.
This is because users who call this function
probably want to edit European characters in single-byte mode."
;; If the optional argument AUTO is non-nil, this function
...
...
@@ -206,8 +207,12 @@ probably want to edit European characters in single-byte mode."
(
set-terminal-coding-system
nil
)))
;; If the user does this explicitly,
;; turn off multibyte chars for more compatibility.
(
or
auto
(
setq-default
enable-multibyte-characters
nil
))
(
unless
auto
(
setq-default
enable-multibyte-characters
nil
)
(
if
(
get-buffer
"*scratch*"
)
(
with-current-buffer
"*scratch*"
(
set-buffer-multibyte
nil
)
(
load
"latin-1"
))))
(
standard-display-8bit
160
255
)
(
unless
(
or
noninteractive
(
eq
window-system
'x
))
;; Send those codes literally to a non-X terminal.
...
...
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