mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
(standard-display-european): If AUTO is non-nil, intern it.
Don't call set-terminal-coding-system if noninteractive.
This commit is contained in:
parent
20848896e4
commit
a998441284
@ -204,11 +204,11 @@ AUTO also specifies, in this case, the coding system for terminal output."
|
||||
(or auto
|
||||
(setq-default enable-multibyte-characters nil))
|
||||
(standard-display-8bit 160 255)
|
||||
(unless (eq window-system 'x)
|
||||
(unless (or noninteractive (eq window-system 'x))
|
||||
;; Send those codes literally to a non-X terminal.
|
||||
;; If AUTO is nil, we are using single-byte characters,
|
||||
;; so it doesn't matter which one we use.
|
||||
(set-terminal-coding-system (or auto 'latin-1)))
|
||||
(set-terminal-coding-system (if auto (intern auto) 'latin-1)))
|
||||
;; Make non-line-break space display as a plain space.
|
||||
;; Most X fonts do the wrong thing for code 160.
|
||||
(aset standard-display-table 160 [32])
|
||||
|
Loading…
Reference in New Issue
Block a user