changeset 13014:077bb437f649

(command_loop_1): Set this_command to nil before reading a command.
author Richard M. Stallman <rms@gnu.org>
date Sun, 10 Sep 1995 01:23:14 +0000
parents 2511f0ccd986
children 0c0845233fa6
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sat Sep 09 19:31:29 1995 +0000
+++ b/src/keyboard.c	Sun Sep 10 01:23:14 1995 +0000
@@ -1168,6 +1168,8 @@
       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);