]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't call set-terminal-coding-system
authorKarl Heuer <kwzh@gnu.org>
Fri, 19 Dec 1997 14:57:14 +0000 (14:57 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 19 Dec 1997 14:57:14 +0000 (14:57 +0000)
if it was already set.

lisp/term/linux.el

index 5f279eb5568d3ac07abdbc140c5b2eed74475212..e46efa073ddc8fc5f081de298e670a1744ddc5a0 100644 (file)
@@ -1,6 +1,7 @@
 ;; The Linux console handles Latin-1 by default.
 
-(set-terminal-coding-system 'iso-latin-1)
+(unless (terminal-coding-system)
+  (set-terminal-coding-system 'iso-latin-1))
 
 ;; Make Latin-1 input characters work, too.
 ;; Meta will continue to work, because the kernel