Variable: redisplay-adhoc-scroll-in-resize-mini-windows
redisplay-adhoc-scroll-in-resize-mini-windows is a variable defined in
xdisp.c.
Value
t
Documentation
If nil always use normal scrolling in minibuffer windows.
Otherwise, use custom-tailored code after resizing minibuffer windows to try and display the most important part of the minibuffer.
Probably introduced at or before Emacs version 28.1.
Source Code
// Defined in /usr/src/emacs/src/xdisp.c
DEFVAR_BOOL ("redisplay-adhoc-scroll-in-resize-mini-windows",
redisplay_adhoc_scroll_in_resize_mini_windows,
doc: /* If nil always use normal scrolling in minibuffer windows.
Otherwise, use custom-tailored code after resizing minibuffer windows to try
and display the most important part of the minibuffer. */);