diff options
| author | Richard M. Stallman | 1995-09-10 01:23:14 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-09-10 01:23:14 +0000 |
| commit | d7437ef689c1c1dcec0fbe99d36a11f84b5850ab (patch) | |
| tree | 8f76754e81a34a2e23e45ebe604ef810026f1c7f /src | |
| parent | 145b0681a77757205f8946afc5338a6e56e63def (diff) | |
| download | emacs-d7437ef689c1c1dcec0fbe99d36a11f84b5850ab.tar.gz emacs-d7437ef689c1c1dcec0fbe99d36a11f84b5850ab.zip | |
(command_loop_1): Set this_command to nil before reading a command.
Diffstat (limited to 'src')
| -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 () | |||
| 1168 | before_command_key_count = this_command_key_count; | 1168 | before_command_key_count = this_command_key_count; |
| 1169 | before_command_echo_length = echo_length (); | 1169 | before_command_echo_length = echo_length (); |
| 1170 | 1170 | ||
| 1171 | this_command = Qnil; | ||
| 1172 | |||
| 1171 | /* Read next key sequence; i gets its length. */ | 1173 | /* Read next key sequence; i gets its length. */ |
| 1172 | i = read_key_sequence (keybuf, sizeof keybuf / sizeof keybuf[0], | 1174 | i = read_key_sequence (keybuf, sizeof keybuf / sizeof keybuf[0], |
| 1173 | Qnil, 0, 1); | 1175 | Qnil, 0, 1); |