aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKarl Heuer1997-12-19 14:57:14 +0000
committerKarl Heuer1997-12-19 14:57:14 +0000
commitdcaa5925632d41f285b1638179e30cedd5bfef9f (patch)
tree5ef3fa19437e9e5ccff56ab858f77c5362a56430 /lisp
parenteebbfb01172dea298ed9ac24acda07ed4827cca7 (diff)
downloademacs-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.el3
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