diff options
| author | Richard M. Stallman | 1994-06-28 09:27:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-06-28 09:27:39 +0000 |
| commit | 99b9e975034c4e75341188be392d4b3c91b626ef (patch) | |
| tree | c1bf4432a9426e1b10b728561af4efec44094231 /src | |
| parent | 146f50a386504e2dca37e859992809f74cb595c4 (diff) | |
| download | emacs-99b9e975034c4e75341188be392d4b3c91b626ef.tar.gz emacs-99b9e975034c4e75341188be392d4b3c91b626ef.zip | |
(redisplay_region): For special treatment, BUF most be
both current and displayed in selected window.
Diffstat (limited to 'src')
| -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 937da4f02a1..e241b59e55b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1824,6 +1824,9 @@ redisplay_region (buf, start, end) | |||
| 1824 | we must do other windows. */ | 1824 | we must do other windows. */ |
| 1825 | if (buf != XBUFFER (XWINDOW (selected_window)->buffer)) | 1825 | if (buf != XBUFFER (XWINDOW (selected_window)->buffer)) |
| 1826 | windows_or_buffers_changed = 1; | 1826 | windows_or_buffers_changed = 1; |
| 1827 | /* If it's not current, we can't use beg_unchanged, end_unchanged for it. */ | ||
| 1828 | else if (buf != current_buffer) | ||
| 1829 | windows_or_buffers_changed = 1; | ||
| 1827 | /* If multiple windows show this buffer, we must do other windows. */ | 1830 | /* If multiple windows show this buffer, we must do other windows. */ |
| 1828 | else if (buffer_shared > 1) | 1831 | else if (buffer_shared > 1) |
| 1829 | windows_or_buffers_changed = 1; | 1832 | windows_or_buffers_changed = 1; |