(command_loop_1): Set this_command to nil before reading a command.
This commit is contained in:
parent
145b0681a7
commit
d7437ef689
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue