From: Gerd Moellmann Date: Tue, 28 Dec 1999 12:05:39 +0000 (+0000) Subject: (try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED X-Git-Tag: emacs-pretest-21.0.90~5615 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9d60f77200a72fa9367704b061ebba92b04b69c1;p=emacs.git (try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED if MODIFF > 1. --- 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;