changeset 75077:c0200a80d5cf

(Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF.
author Richard M. Stallman <rms@gnu.org>
date Wed, 03 Jan 2007 23:28:08 +0000
parents fcae879bd347
children 8ac9c1e248f9
files src/window.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Wed Jan 03 22:57:46 2007 +0000
+++ b/src/window.c	Wed Jan 03 23:28:08 2007 +0000
@@ -1182,7 +1182,8 @@
 
   if (! NILP (update)
       && ! (! NILP (w->window_end_valid)
-	    && XFASTINT (w->last_modified) >= BUF_MODIFF (b))
+	    && XFASTINT (w->last_modified) >= BUF_MODIFF (b)
+	    && XFASTINT (w->last_overlay_modified) => BUF_OVERLAY_MODIFF (b))
       && !noninteractive)
     {
       struct text_pos startp;