(redisplay_region): For special treatment, BUF most be
both current and displayed in selected window.
This commit is contained in:
parent
146f50a386
commit
99b9e97503
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue