From bc76afd355c0a6608830e2b43c8c67243aa0fa7b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 7 Nov 2020 10:44:30 +0200 Subject: [PATCH] ; * src/xdisp.c (redisplay_window): Add comment for a recent change. --- src/xdisp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index bff14e584de..0001bcd98d2 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -18820,6 +18820,10 @@ redisplay_window (Lisp_Object window, bool just_this_one_p) /* Try to scroll by specified few lines. */ if ((0 < scroll_conservatively + /* FIXME: the option is supposed to affect minibuffers, but we + test MINI_WINDOW_P, which can also catch uses of + mini-windows for displaying the echo area. Do we need to + distinguish these two use cases? */ || (scroll_minibuffer_conservatively && MINI_WINDOW_P (w)) || 0 < emacs_scroll_step || temp_scroll_step -- 2.39.2