+2014-01-11 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (try_window_id): Don't use this function's optimizations
+ if overlays in the buffer displayed by the window have changed
+ since last redisplay. (Bug#16347)
+ (message_dolog): Fix indentation.
+
2014-01-11 Martin Rudalics <rudalics@gmx.at>
* frame.c (frame_resize_pixelwise): Fix doc-string.
incrementing windows_or_buffers_changed even if *Messages* is
shown in some window. So we must manually set
windows_or_buffers_changed here to make up for that. */
- windows_or_buffers_changed = old_windows_or_buffers_changed;
+ windows_or_buffers_changed = old_windows_or_buffers_changed;
bset_redisplay (current_buffer);
set_buffer_internal (oldbuf);
if (windows_or_buffers_changed || f->cursor_type_changed)
GIVE_UP (2);
+ /* This function's optimizations cannot be used if overlays have
+ changed in the buffer displayed by the window, so give up if they
+ have. */
+ if (w->last_overlay_modified != OVERLAY_MODIFF)
+ GIVE_UP (21);
+
/* Verify that narrowing has not changed.
Also verify that we were not told to prevent redisplay optimizations.
It would be nice to further