diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-09-10 01:23:14 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-09-10 01:23:14 +0000 |
commit | d343eca3a6e05510b21156942b8b067db6377818 (patch) | |
tree | 2dd322b68438ac17467ed173a33c4892b515e3cd /src/keyboard.c | |
parent | 43a443fbfa8da4eedc96c80b1aa531631a785783 (diff) | |
download | emacs-d343eca3a6e05510b21156942b8b067db6377818.tar.gz |
(command_loop_1): Set this_command to nil before reading a command.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |