1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

(try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED

if MODIFF > 1.
This commit is contained in:
Gerd Moellmann 1999-12-28 12:05:39 +00:00
parent 2765768780
commit 9d60f77200

View file

@ -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;