diff options
| author | Richard M. Stallman | 1997-09-13 19:05:54 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-09-13 19:05:54 +0000 |
| commit | 4e633bb8eb63e7d515a84ce25b3f204a9c1d249f (patch) | |
| tree | eb7c872afa975f9ec20ea93b2a4a59f692761de2 | |
| parent | f4cf76d31fd3d20fd0bf48abce574c8ccd54fd09 (diff) | |
| download | emacs-4e633bb8eb63e7d515a84ce25b3f204a9c1d249f.tar.gz emacs-4e633bb8eb63e7d515a84ce25b3f204a9c1d249f.zip | |
(standard-display-european): Do something useful where AUTO is t or a symbol.
| -rw-r--r-- | lisp/disp-table.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/disp-table.el b/lisp/disp-table.el index cb9325fd771..19187b07628 100644 --- a/lisp/disp-table.el +++ b/lisp/disp-table.el | |||
| @@ -211,7 +211,10 @@ AUTO also specifies, in this case, the coding system for terminal output." | |||
| 211 | ;; Send those codes literally to a non-X terminal. | 211 | ;; Send those codes literally to a non-X terminal. |
| 212 | ;; If AUTO is nil, we are using single-byte characters, | 212 | ;; If AUTO is nil, we are using single-byte characters, |
| 213 | ;; so it doesn't matter which one we use. | 213 | ;; so it doesn't matter which one we use. |
| 214 | (set-terminal-coding-system (if auto (intern auto) 'latin-1))) | 214 | (set-terminal-coding-system |
| 215 | (cond ((eq auto t) 'latin-1) | ||
| 216 | ((symbolp auto) (or auto 'latin-1)) | ||
| 217 | ((stringp auto) (intern auto))))) | ||
| 215 | ;; Make non-line-break space display as a plain space. | 218 | ;; Make non-line-break space display as a plain space. |
| 216 | ;; Most X fonts do the wrong thing for code 160. | 219 | ;; Most X fonts do the wrong thing for code 160. |
| 217 | (aset standard-display-table 160 [32]) | 220 | (aset standard-display-table 160 [32]) |