Mercurial > emacs
diff src/xdisp.c @ 27011:fed3d128eeed
(try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED
if MODIFF > 1.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 28 Dec 1999 12:05:39 +0000 |
parents | d7f15cd9c4ad |
children | 526f3b2398ce |
line wrap: on
line diff
--- a/src/xdisp.c Tue Dec 28 05:37:52 1999 +0000 +++ b/src/xdisp.c Tue Dec 28 12:05:39 1999 +0000 @@ -10020,7 +10020,7 @@ 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;