changeset 27012:520f982f3a9a

(modify_overlay): Always compute unchanged info.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 28 Dec 1999 12:06:22 +0000
parents fed3d128eeed
children f9494f849fcf
files src/buffer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Tue Dec 28 12:05:39 1999 +0000
+++ b/src/buffer.c	Tue Dec 28 12:06:22 1999 +0000
@@ -3088,6 +3088,8 @@
       start = end; end = temp;
     }
 
+  BUF_COMPUTE_UNCHANGED (buf, start, end);
+  
   /* If this is a buffer not in the selected window,
      we must do other windows.  */
   if (buf != XBUFFER (XWINDOW (selected_window)->buffer))
@@ -3095,8 +3097,6 @@
   /* If multiple windows show this buffer, we must do other windows.  */
   else if (buffer_shared > 1)
     windows_or_buffers_changed = 1;
-  else
-    BUF_COMPUTE_UNCHANGED (buf, start, end);
 
   ++BUF_OVERLAY_MODIFF (buf);
 }