From 9351ebd055fed8ed472f6e559270384b0a916543 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 23 Aug 1999 00:11:47 +0000 Subject: [PATCH] (command_loop_1): Set beg/end_unchanged per buffer. --- src/keyboard.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index bfab331eba..a50322f425 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1333,8 +1333,10 @@ command_loop_1 () update the whole window properly. */ if (!NILP (XWINDOW (selected_window)->force_start)) { + struct buffer *b; XWINDOW (selected_window)->force_start = Qnil; - beg_unchanged = end_unchanged = 0; + b = XBUFFER (XWINDOW (selected_window)->buffer); + BUF_BEG_UNCHANGED (b) = BUF_END_UNCHANGED (b) = 0; } cmd = read_key_sequence_cmd; -- 2.39.2