diff options
| author | Karl Heuer | 1997-12-19 14:57:14 +0000 |
|---|---|---|
| committer | Karl Heuer | 1997-12-19 14:57:14 +0000 |
| commit | dcaa5925632d41f285b1638179e30cedd5bfef9f (patch) | |
| tree | 5ef3fa19437e9e5ccff56ab858f77c5362a56430 /lisp | |
| parent | eebbfb01172dea298ed9ac24acda07ed4827cca7 (diff) | |
| download | emacs-dcaa5925632d41f285b1638179e30cedd5bfef9f.tar.gz emacs-dcaa5925632d41f285b1638179e30cedd5bfef9f.zip | |
Don't call set-terminal-coding-system
if it was already set.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/term/linux.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/term/linux.el b/lisp/term/linux.el index 5f279eb5568..e46efa073dd 100644 --- a/lisp/term/linux.el +++ b/lisp/term/linux.el | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;; The Linux console handles Latin-1 by default. | 1 | ;; The Linux console handles Latin-1 by default. |
| 2 | 2 | ||
| 3 | (set-terminal-coding-system 'iso-latin-1) | 3 | (unless (terminal-coding-system) |
| 4 | (set-terminal-coding-system 'iso-latin-1)) | ||
| 4 | 5 | ||
| 5 | ;; Make Latin-1 input characters work, too. | 6 | ;; Make Latin-1 input characters work, too. |
| 6 | ;; Meta will continue to work, because the kernel | 7 | ;; Meta will continue to work, because the kernel |