From: Richard M. Stallman Date: Sun, 10 Sep 1995 01:23:14 +0000 (+0000) Subject: (command_loop_1): Set this_command to nil before reading a command. X-Git-Tag: emacs-19.34~2846 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d7437ef689c1c1dcec0fbe99d36a11f84b5850ab;p=emacs.git (command_loop_1): Set this_command to nil before reading a command. --- diff --git a/src/keyboard.c b/src/keyboard.c index ef50a2b81fb..018b8201959 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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);