Commit 1bf0e604 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(command_loop_1): Print a message describing the key

the user just pressed when this key has no binding.
parent 275464e7
2004-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
 
* keyboard.c (command_loop_1): Print a message describing the key
the user just pressed when this key has no binding.
* sysdep.c (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set.
(emacs_open, emacs_read, emacs_write): Check QUIT when interrupted.
 
......
......@@ -1618,7 +1618,10 @@ command_loop_1 ()
if (NILP (Vthis_command))
{
/* nil means key is undefined. */
Lisp_Object keys = Fvector (i, keybuf);
keys = Fkey_description (keys, Qnil);
bitch_at_user ();
message_with_string ("%s is undefined", keys, 0);
current_kboard->defining_kbd_macro = Qnil;
update_mode_lines = 1;
current_kboard->Vprefix_arg = Qnil;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment