# HG changeset patch # User Gerd Moellmann # Date 946382739 0 # Node ID fed3d128eeed3902751b41c42db45b0888132792 # Parent 4be26de6d837b30185071a9855b3e1176d424f38 (try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED if MODIFF > 1. diff -r 4be26de6d837 -r fed3d128eeed src/xdisp.c --- 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;