changeset 20469:2253ec0e71ca

Don't call set-terminal-coding-system if it was already set.
author Karl Heuer <kwzh@gnu.org>
date Fri, 19 Dec 1997 14:57:14 +0000
parents 2fbad61cd5d0
children 4d8e07123564
files lisp/term/linux.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/term/linux.el	Fri Dec 19 14:54:55 1997 +0000
+++ b/lisp/term/linux.el	Fri Dec 19 14:57:14 1997 +0000
@@ -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