diff options
| author | Richard M. Stallman | 1994-06-17 00:52:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-06-17 00:52:13 +0000 |
| commit | 70bcb498d3469d6c9692705fb47a17381d0a5f89 (patch) | |
| tree | 1d5774931bd43f21617f29d9bfe3d999193fbe3c /src | |
| parent | e919a6225efedd6a01987c1388491089ffe7b9e5 (diff) | |
| download | emacs-70bcb498d3469d6c9692705fb47a17381d0a5f89.tar.gz emacs-70bcb498d3469d6c9692705fb47a17381d0a5f89.zip | |
(redisplay_region): Treat selected window's buffer
specially, not current buffer.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 7d06ead0a69..25519fb885e 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1820,7 +1820,12 @@ redisplay_region (buf, start, end) | |||
| 1820 | start = end; end = temp; | 1820 | start = end; end = temp; |
| 1821 | } | 1821 | } |
| 1822 | 1822 | ||
| 1823 | if (buf != current_buffer) | 1823 | /* If this is a buffer not in the selected window, |
| 1824 | we must do other windows. */ | ||
| 1825 | if (buf != XBUFFER (XWINDOW (selected_window)->buffer)) | ||
| 1826 | windows_or_buffers_changed = 1; | ||
| 1827 | /* If multiple windows show this buffer, we must do other windows. */ | ||
| 1828 | else if (buffer_shared > 1) | ||
| 1824 | windows_or_buffers_changed = 1; | 1829 | windows_or_buffers_changed = 1; |
| 1825 | else | 1830 | else |
| 1826 | { | 1831 | { |