aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 8f0efb36f32..e63b3e06398 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -5550,7 +5550,7 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last,
5550 Lisp_Object head; 5550 Lisp_Object head;
5551 5551
5552 head = EVENT_HEAD (key); 5552 head = EVENT_HEAD (key);
5553 if (help_char_p (head)) 5553 if (help_char_p (head) && t > 0)
5554 { 5554 {
5555 read_key_sequence_cmd = Vprefix_help_command; 5555 read_key_sequence_cmd = Vprefix_help_command;
5556 keybuf[t++] = key; 5556 keybuf[t++] = key;