changeset 2406:465732c007f4

(command_loop_1): Clear force_start of selected_window after reading each key sequence.
author Richard M. Stallman <rms@gnu.org>
date Sun, 28 Mar 1993 08:27:34 +0000
parents f51bd6676409
children 1c590cd84ab3
files src/keyboard.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sun Mar 28 07:32:08 1993 +0000
+++ b/src/keyboard.c	Sun Mar 28 08:27:34 1993 +0000
@@ -957,6 +957,11 @@
 
       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))
 	{