changeset 8517:a7fe53588b6f

(Fdefine_key): Fix error message. (Fsingle_key_description): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Thu, 11 Aug 1994 19:45:41 +0000
parents 5d76d6decb35
children 44ff33b29c3e
files src/keymap.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Thu Aug 11 07:18:04 1994 +0000
+++ b/src/keymap.c	Thu Aug 11 19:45:41 1994 +0000
@@ -628,7 +628,7 @@
 	}
 
       if (! INTEGERP (c) && ! SYMBOLP (c) && ! CONSP (c))
-	error ("Key sequence contains illegal events");
+	error ("Key sequence contains invalid events");
 
       if (idx == length)
 	RETURN_UNGCPRO (store_in_keymap (keymap, c, def));
@@ -1519,7 +1519,7 @@
       return Fcopy_sequence (key);
 
     default:
-      error ("KEY must be an integer, cons, symbol, or string.");
+      error ("KEY must be an integer, cons, symbol, or string");
     }
 }