summaryrefslogtreecommitdiff
path: root/lisp/bindings.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-14 03:49:20 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-14 03:49:20 +0000
commit5a0c40ea122438c1e019a8c123feb9bb0c66389f (patch)
tree9d5b4863e4c6b397b1cba49b1b6fde78ba280d3b /lisp/bindings.el
parent2d4ef3c0eca77370dbdd50df8d0f7abce847f584 (diff)
downloademacs-5a0c40ea122438c1e019a8c123feb9bb0c66389f.tar.gz
Make Latin-4 characters self-insert.
Use aset to set up these char sets.
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r--lisp/bindings.el9
1 files 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))