]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_key_sequence): Don't use Vprefix_help_command
authorRichard M. Stallman <rms@gnu.org>
Tue, 20 Jun 1995 18:27:13 +0000 (18:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 20 Jun 1995 18:27:13 +0000 (18:27 +0000)
for the first character in a key seq.

src/keyboard.c

index 8f0efb36f325a4dd857661c5038f52de18420bc8..e63b3e06398b01d904ddb84fc976e3e528a1bbd3 100644 (file)
@@ -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;