Fix bug #14170 with window-end returning a stale value.
authorEli Zaretskii <eliz@gnu.org>
Thu, 11 Apr 2013 16:06:47 +0000 (19:06 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 11 Apr 2013 16:06:47 +0000 (19:06 +0300)
commitfcc1fe85416f7dda9a1b83faf88a55c170a41ac9
tree558bc1bbca98583feb7f0f8c77c55937e8f0da49
parentf07accae655f61468f3441dc48b61b5f125b601f
Fix bug #14170 with window-end returning a stale value.

This bug was introduced in 2012-10-15T09:03:56Z!rudalics@gmx.at
while solving bug #12600.

 src/window.c (Fwindow_end): Test more flags, including the buffer's
 last_overlay_modified flag, to determine whether the window's
 display is really up-to-date.  Prevents the function from
 returning a stale value.
 (Fwindow_line_height): Fix the test for up-to-date-ness of the
 current matrix.
src/ChangeLog
src/window.c