diff options
| author | Richard M. Stallman | 1993-03-28 08:27:34 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-03-28 08:27:34 +0000 |
| commit | 75c0b143920f3facc1e1b44b69f4a6a53ae7d87f (patch) | |
| tree | c00679c465f609bad0193ee8bf8156fe4aa793a1 /src | |
| parent | 6fc81d6b8e1fd27e25f8fc89769940c34f9acfa1 (diff) | |
| download | emacs-75c0b143920f3facc1e1b44b69f4a6a53ae7d87f.tar.gz emacs-75c0b143920f3facc1e1b44b69f4a6a53ae7d87f.zip | |
(command_loop_1): Clear force_start of selected_window
after reading each key sequence.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 468d9703fe0..2f8689ef13e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -957,6 +957,11 @@ command_loop_1 () | |||
| 957 | 957 | ||
| 958 | last_command_char = keybuf[i - 1]; | 958 | last_command_char = keybuf[i - 1]; |
| 959 | 959 | ||
| 960 | /* If the previous command tried to force a specific window-start, | ||
| 961 | forget about that, in case this command moves point far away | ||
| 962 | from that position. */ | ||
| 963 | XWINDOW (selected_window)->force_start = Qnil; | ||
| 964 | |||
| 960 | cmd = read_key_sequence_cmd; | 965 | cmd = read_key_sequence_cmd; |
| 961 | if (!NILP (Vexecuting_macro)) | 966 | if (!NILP (Vexecuting_macro)) |
| 962 | { | 967 | { |