Variable: resize-mini-frames
resize-mini-frames is a customizable variable defined in frame.c.
Value
nil
Documentation
Non-nil means resize minibuffer-only frames automatically.
If this is nil, do not resize minibuffer-only frames automatically.
If this is a function, call that function with the minibuffer-only frame that shall be resized as sole argument. The buffer of the root window of that frame is the buffer whose text will be eventually shown in the minibuffer window.
Any other non-nil value means to resize minibuffer-only frames by
calling fit-mini-frame-to-buffer.
This variable was added, or its default value changed, in Emacs 27.2.
Probably introduced at or before Emacs version 27.1.
Source Code
// Defined in /usr/src/emacs/src/frame.c
DEFVAR_LISP ("resize-mini-frames", resize_mini_frames,
doc: /* Non-nil means resize minibuffer-only frames automatically.
If this is nil, do not resize minibuffer-only frames automatically.
If this is a function, call that function with the minibuffer-only
frame that shall be resized as sole argument. The buffer of the root
window of that frame is the buffer whose text will be eventually shown
in the minibuffer window.
Any other non-nil value means to resize minibuffer-only frames by
calling `fit-mini-frame-to-buffer'. */);