# HG changeset patch # User Karl Heuer # Date 796678013 0 # Node ID b400b109a398ed13d166864436fd92f59602da04 # Parent f1a876b8bf5cb647db243d7dc82264a83023cc66 (command_loop_1): If we ignore force_start, then also ignore beg_unchanged and end_unchanged. diff -r f1a876b8bf5c -r b400b109a398 src/keyboard.c --- a/src/keyboard.c Fri Mar 31 19:23:55 1995 +0000 +++ b/src/keyboard.c Fri Mar 31 19:26:53 1995 +0000 @@ -1100,8 +1100,14 @@ /* 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; + from that position. But also throw away beg_unchanged and + end_unchanged information in that case, so that redisplay will + update the whole window properly. */ + if (!NILP (XWINDOW (selected_window)->force_start)) + { + XWINDOW (selected_window)->force_start = Qnil; + beg_unchanged = end_unchanged = 0; + } cmd = read_key_sequence_cmd; if (!NILP (Vexecuting_macro))