From: Richard M. Stallman Date: Wed, 3 Jan 2007 23:28:08 +0000 (+0000) Subject: (Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF. X-Git-Tag: emacs-pretest-22.0.93~264 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dfc265a31fd11a6d7b0f994959a1cab0909b18dd;p=emacs.git (Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF. --- diff --git a/src/window.c b/src/window.c index babf72c2c52..2a7b5ef6c68 100644 --- a/src/window.c +++ b/src/window.c @@ -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;