diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-03-28 08:27:34 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-03-28 08:27:34 +0000 |
commit | 75c0b143920f3facc1e1b44b69f4a6a53ae7d87f (patch) | |
tree | c00679c465f609bad0193ee8bf8156fe4aa793a1 /src/keyboard.c | |
parent | 6fc81d6b8e1fd27e25f8fc89769940c34f9acfa1 (diff) | |
download | emacs-75c0b143920f3facc1e1b44b69f4a6a53ae7d87f.tar.gz |
(command_loop_1): Clear force_start of selected_window
after reading each key sequence.
Diffstat (limited to 'src/keyboard.c')
-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 () last_command_char = keybuf[i - 1]; + /* If the previous command tried to force a specific window-start, + forget about that, in case this command moves point far away + from that position. */ + XWINDOW (selected_window)->force_start = Qnil; + cmd = read_key_sequence_cmd; if (!NILP (Vexecuting_macro)) { |