changeset 42381:810b3bfc52cf

Fix previous change; also correct its change log: (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc. (exclude_keys): New variable. (Flookup_key): Error message if key has wrong data type.
author Richard M. Stallman <rms@gnu.org>
date Fri, 28 Dec 2001 18:48:46 +0000
parents 2f797e333c2c
children 3f0abda6556d
files src/keymap.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Fri Dec 28 18:47:27 2001 +0000
+++ b/src/keymap.c	Fri Dec 28 18:48:46 2001 +0000
@@ -48,9 +48,6 @@
 Lisp_Object control_x_map;	/* The keymap used for globally bound
 				   C-x-prefixed default commands */
 
-/* Alist of elements like (DEL . "\d").  */
-Lisp_Object exclude_keys;
-
 /* was MinibufLocalMap */
 Lisp_Object Vminibuffer_local_map;
 				/* The keymap used by the minibuf for local
@@ -94,6 +91,9 @@
 
 Lisp_Object Qkeymapp, Qkeymap, Qnon_ascii, Qmenu_item;
 
+/* Alist of elements like (DEL . "\d").  */
+static Lisp_Object exclude_keys;
+
 /* A char with the CHAR_META bit set in a vector or the 0200 bit set
    in a string key sequence is equivalent to prefixing with this
    character.  */