]> git.eshelyaron.com Git - emacs.git/commitdiff
(try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED
authorGerd Moellmann <gerd@gnu.org>
Tue, 28 Dec 1999 12:05:39 +0000 (12:05 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 28 Dec 1999 12:05:39 +0000 (12:05 +0000)
if MODIFF > 1.

src/xdisp.c

index 662a37fd592485bc3b24a3897e0c3c9bc8df8b24..8563f015d0719a3792e3da673ac578e685654a8e 100644 (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;