From 9d60f77200a72fa9367704b061ebba92b04b69c1 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 28 Dec 1999 12:05:39 +0000 Subject: [PATCH] (try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED if MODIFF > 1. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 662a37fd592..8563f015d07 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -10020,7 +10020,7 @@ try_window_id (w) only if buffer has really changed. The reason is that the gap is initially at Z for freshly visited files. The code below would set end_unchanged to 0 in that case. */ - if (MODIFF > SAVE_MODIFF) + if (MODIFF > 1) { if (GPT - BEG < BEG_UNCHANGED) BEG_UNCHANGED = GPT - BEG; -- 2.39.5