diff options
author | Richard M. Stallman <[email protected]> | 1994-06-28 09:27:39 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1994-06-28 09:27:39 +0000 |
commit | 99b9e975034c4e75341188be392d4b3c91b626ef (patch) | |
tree | c1bf4432a9426e1b10b728561af4efec44094231 /src/xdisp.c | |
parent | 146f50a386504e2dca37e859992809f74cb595c4 (diff) |
(redisplay_region): For special treatment, BUF most be
both current and displayed in selected window.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 937da4f02a..e241b59e55 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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; |