changeset 20260:0d9e271f24ee

Use set-input-mode to make Latin-1 chars work.
author Karl Heuer <kwzh@gnu.org>
date Sat, 15 Nov 1997 20:52:06 +0000
parents 0393daff516c
children a1ca84bd10fd
files lisp/term/linux.el
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/term/linux.el	Sat Nov 15 20:36:34 1997 +0000
+++ b/lisp/term/linux.el	Sat Nov 15 20:52:06 1997 +0000
@@ -1,3 +1,11 @@
 ;; The Linux console handles Latin-1 by default.
 
 (set-terminal-coding-system 'iso-latin-1)
+
+;; Make Latin-1 input characters work, too.
+;; Meta will continue to work, because the kernel
+;; turns that into Escape.
+
+(let ((value (current-input-mode)))
+  ;; The third arg only matters in that it is not t or nil.
+  (set-input-mode (nth 0 value) (nth 1 value) 'iso-latin-1 (nth 3 value)))