From 5a0c40ea122438c1e019a8c123feb9bb0c66389f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 14 May 1997 03:49:20 +0000 Subject: [PATCH] Make Latin-4 characters self-insert. Use aset to set up these char sets. --- lisp/bindings.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/bindings.el b/lisp/bindings.el index b906bcdcae9..36682a847b3 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -220,10 +220,11 @@ for \\[find-tag] (which see)." ;; that we will not need to keep permanently. (garbage-collect) -;; Make Latin-1, Latin-2 and Latin-3 characters self-insert. -(set-char-table-range (nth 1 global-map) [129] 'self-insert-command) -(set-char-table-range (nth 1 global-map) [130] 'self-insert-command) -(set-char-table-range (nth 1 global-map) [131] 'self-insert-command) +;; Make Latin-1, Latin-2, Latin-3 and Latin-4 characters self-insert. +(aset (nth 1 global-map) (make-char 'latin-iso8859-1) 'self-insert-command) +(aset (nth 1 global-map) (make-char 'latin-iso8859-2) 'self-insert-command) +(aset (nth 1 global-map) (make-char 'latin-iso8859-3) 'self-insert-command) +(aset (nth 1 global-map) (make-char 'latin-iso8859-4) 'self-insert-command) (define-key ctl-x-map "n" (make-sparse-keymap)) (define-key ctl-x-map "r" (make-sparse-keymap)) -- 2.39.2