Mercurial > emacs
diff src/xdisp.c @ 8075:b546fa7e9911
(redisplay_region): For special treatment, BUF most be
both current and displayed in selected window.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 28 Jun 1994 09:27:39 +0000 |
parents | e609577aa2f3 |
children | e1958b89aa88 |
line wrap: on
line diff
--- a/src/xdisp.c Tue Jun 28 09:25:42 1994 +0000 +++ b/src/xdisp.c Tue Jun 28 09:27:39 1994 +0000 @@ -1824,6 +1824,9 @@ 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;