aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/keyboard.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c9196c5b707..b11ea0fa02c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12004-11-25 Stefan Monnier <monnier@iro.umontreal.ca> 12004-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * keyboard.c (command_loop_1): Print a message describing the key
4 the user just pressed when this key has no binding.
5
3 * sysdep.c (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set. 6 * sysdep.c (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set.
4 (emacs_open, emacs_read, emacs_write): Check QUIT when interrupted. 7 (emacs_open, emacs_read, emacs_write): Check QUIT when interrupted.
5 8
diff --git a/src/keyboard.c b/src/keyboard.c
index 59dc6e214e5..d96879a453f 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1618,7 +1618,10 @@ command_loop_1 ()
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;