Mercurial > emacs
comparison src/keyboard.c @ 58519:8e7e32dcc9e2
(command_loop_1): Print a message describing the key
the user just pressed when this key has no binding.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 25 Nov 2004 22:17:49 +0000 |
parents | fdf2cb9626ab |
children | 95d38c47c806 |
comparison
equal
deleted
inserted
replaced
58518:1a5509ec45da | 58519:8e7e32dcc9e2 |
---|---|
1616 already_adjusted = 0; | 1616 already_adjusted = 0; |
1617 | 1617 |
1618 if (NILP (Vthis_command)) | 1618 if (NILP (Vthis_command)) |
1619 { | 1619 { |
1620 /* nil means key is undefined. */ | 1620 /* nil means key is undefined. */ |
1621 Lisp_Object keys = Fvector (i, keybuf); | |
1622 keys = Fkey_description (keys, Qnil); | |
1621 bitch_at_user (); | 1623 bitch_at_user (); |
1624 message_with_string ("%s is undefined", keys, 0); | |
1622 current_kboard->defining_kbd_macro = Qnil; | 1625 current_kboard->defining_kbd_macro = Qnil; |
1623 update_mode_lines = 1; | 1626 update_mode_lines = 1; |
1624 current_kboard->Vprefix_arg = Qnil; | 1627 current_kboard->Vprefix_arg = Qnil; |
1625 } | 1628 } |
1626 else | 1629 else |