Commit 481b5054 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(modify_overlay): Always compute unchanged info.

parent 9d60f772
No preview for this file type
...@@ -3088,6 +3088,8 @@ modify_overlay (buf, start, end) ...@@ -3088,6 +3088,8 @@ modify_overlay (buf, start, end)
start = end; end = temp; start = end; end = temp;
} }
BUF_COMPUTE_UNCHANGED (buf, start, end);
/* If this is a buffer not in the selected window, /* If this is a buffer not in the selected window,
we must do other windows. */ we must do other windows. */
if (buf != XBUFFER (XWINDOW (selected_window)->buffer)) if (buf != XBUFFER (XWINDOW (selected_window)->buffer))
...@@ -3095,8 +3097,6 @@ modify_overlay (buf, start, end) ...@@ -3095,8 +3097,6 @@ modify_overlay (buf, start, end)
/* If multiple windows show this buffer, we must do other windows. */ /* If multiple windows show this buffer, we must do other windows. */
else if (buffer_shared > 1) else if (buffer_shared > 1)
windows_or_buffers_changed = 1; windows_or_buffers_changed = 1;
else
BUF_COMPUTE_UNCHANGED (buf, start, end);
++BUF_OVERLAY_MODIFF (buf); ++BUF_OVERLAY_MODIFF (buf);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment