aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-08-11 19:45:41 +0000
committerRichard M. Stallman1994-08-11 19:45:41 +0000
commit4b04c52e373002a0da810c7be0dfab91cbfb0b22 (patch)
tree2a946e5f9e7fe6fc93c4c069541ee82a41ba0c68 /src/keymap.c
parenta283f4a3d525a0040fb9bd834ec8d1a3b3e01858 (diff)
downloademacs-4b04c52e373002a0da810c7be0dfab91cbfb0b22.tar.gz
emacs-4b04c52e373002a0da810c7be0dfab91cbfb0b22.zip
(Fdefine_key): Fix error message.
(Fsingle_key_description): Likewise.
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c
index bad22160a9c..9396ee77760 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -628,7 +628,7 @@ the front of KEYMAP.")
628 } 628 }
629 629
630 if (! INTEGERP (c) && ! SYMBOLP (c) && ! CONSP (c)) 630 if (! INTEGERP (c) && ! SYMBOLP (c) && ! CONSP (c))
631 error ("Key sequence contains illegal events"); 631 error ("Key sequence contains invalid events");
632 632
633 if (idx == length) 633 if (idx == length)
634 RETURN_UNGCPRO (store_in_keymap (keymap, c, def)); 634 RETURN_UNGCPRO (store_in_keymap (keymap, c, def));
@@ -1519,7 +1519,7 @@ Control characters turn into C-whatever, etc.")
1519 return Fcopy_sequence (key); 1519 return Fcopy_sequence (key);
1520 1520
1521 default: 1521 default:
1522 error ("KEY must be an integer, cons, symbol, or string."); 1522 error ("KEY must be an integer, cons, symbol, or string");
1523 } 1523 }
1524} 1524}
1525 1525