aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c5
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 {