]> git.eshelyaron.com Git - emacs.git/commitdiff
Make Latin-4 characters self-insert.
authorRichard M. Stallman <rms@gnu.org>
Wed, 14 May 1997 03:49:20 +0000 (03:49 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 14 May 1997 03:49:20 +0000 (03:49 +0000)
Use aset to set up these char sets.

lisp/bindings.el

index b906bcdcae9a6072e39158869913b6c5bdfe4735..36682a847b323054059ce861db1d7a2177c227c7 100644 (file)
@@ -220,10 +220,11 @@ for \\[find-tag] (which see)."
 ;; that we will not need to keep permanently.
 (garbage-collect)
 \f
-;; 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))