]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF.
authorRichard M. Stallman <rms@gnu.org>
Wed, 3 Jan 2007 23:28:08 +0000 (23:28 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 3 Jan 2007 23:28:08 +0000 (23:28 +0000)
src/window.c

index babf72c2c52e4845cf8081bb1efa05428e0b31a3..2a7b5ef6c684520ee8f234748daa1073559cd5c7 100644 (file)
@@ -1182,7 +1182,8 @@ if it isn't already recorded.  */)
 
   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;