]> git.eshelyaron.com Git - emacs.git/commitdiff
(command_loop_1): Set this_command to nil before reading a command.
authorRichard M. Stallman <rms@gnu.org>
Sun, 10 Sep 1995 01:23:14 +0000 (01:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 10 Sep 1995 01:23:14 +0000 (01:23 +0000)
src/keyboard.c

index ef50a2b81fb68b8498c870b1325bbdeecebff882..018b8201959bd29b131ba111a40dd217404df3bf 100644 (file)
@@ -1168,6 +1168,8 @@ command_loop_1 ()
       before_command_key_count = this_command_key_count;
       before_command_echo_length = echo_length ();
 
+      this_command = Qnil;
+
       /* Read next key sequence; i gets its length.  */
       i = read_key_sequence (keybuf, sizeof keybuf / sizeof keybuf[0],
                             Qnil, 0, 1);