summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-06-20 18:27:13 +0000
committerRichard M. Stallman <rms@gnu.org>1995-06-20 18:27:13 +0000
commit96b914c935001a6bfa3315184fde541f0f33affd (patch)
treee583b774e4c788837d9b13a6f2624a04a68617e2 /src/keyboard.c
parent051e473c348280b4dac95b95a60a211298031295 (diff)
downloademacs-96b914c935001a6bfa3315184fde541f0f33affd.tar.gz
(read_key_sequence): Don't use Vprefix_help_command
for the first character in a key seq.
Diffstat (limited to 'src/keyboard.c')
-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,
Lisp_Object head;
head = EVENT_HEAD (key);
- if (help_char_p (head))
+ if (help_char_p (head) && t > 0)
{
read_key_sequence_cmd = Vprefix_help_command;
keybuf[t++] = key;