(redisplay_region): For special treatment, BUF most be

both current and displayed in selected window.
This commit is contained in:
Richard M. Stallman 1994-06-28 09:27:39 +00:00
parent 146f50a386
commit 99b9e97503

View file

@ -1824,6 +1824,9 @@ redisplay_region (buf, start, end)
we must do other windows. */
if (buf != XBUFFER (XWINDOW (selected_window)->buffer))
windows_or_buffers_changed = 1;
/* If it's not current, we can't use beg_unchanged, end_unchanged for it. */
else if (buf != current_buffer)
windows_or_buffers_changed = 1;
/* If multiple windows show this buffer, we must do other windows. */
else if (buffer_shared > 1)
windows_or_buffers_changed = 1;