From: Richard M. Stallman Date: Tue, 28 Jun 1994 09:27:39 +0000 (+0000) Subject: (redisplay_region): For special treatment, BUF most be X-Git-Tag: emacs-19.34~7778 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=99b9e975034c4e75341188be392d4b3c91b626ef;p=emacs.git (redisplay_region): For special treatment, BUF most be both current and displayed in selected window. --- 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) 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;