[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/buffer.c
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/src/buffer.c |
Date: |
Fri, 24 Feb 2006 23:31:26 +0000 |
Index: emacs/src/buffer.c
diff -u emacs/src/buffer.c:1.498 emacs/src/buffer.c:1.499
--- emacs/src/buffer.c:1.498 Mon Feb 20 22:14:06 2006
+++ emacs/src/buffer.c Fri Feb 24 23:31:26 2006
@@ -3649,6 +3649,10 @@
/* If multiple windows show this buffer, we must do other windows. */
else if (buffer_shared > 1)
windows_or_buffers_changed = 1;
+ /* If we modify an overlay at the end of the buffer, we cannot
+ be sure that window end is still valid. */
+ else if (end >= ZV && start <= ZV)
+ windows_or_buffers_changed = 1;
++BUF_OVERLAY_MODIFF (buf);
}