Variable: read-minibuffer-restore-windows
read-minibuffer-restore-windows is a customizable variable defined in
minibuf.c.
Value
t
Documentation
Non-nil means restore window configurations on exit from minibuffer.
If this is non-nil (the default), reading input with the minibuffer will restore, on exit, the window configurations of the frame where the minibuffer was entered from and, if it is different, the frame that owns the associated minibuffer window.
If this is nil, window configurations are not restored upon exiting
the minibuffer. However, if minibuffer-restore-windows is present
in minibuffer-exit-hook, exiting the minibuffer will remove the window
showing the *Completions* buffer, if any.
This variable was added, or its default value changed, in Emacs 28.1.
Probably introduced at or before Emacs version 28.1.
Source Code
// Defined in /usr/src/emacs/src/minibuf.c
DEFVAR_BOOL ("read-minibuffer-restore-windows", read_minibuffer_restore_windows,
doc: /* Non-nil means restore window configurations on exit from minibuffer.
If this is non-nil (the default), reading input with the minibuffer will
restore, on exit, the window configurations of the frame where the
minibuffer was entered from and, if it is different, the frame that owns
the associated minibuffer window.
If this is nil, window configurations are not restored upon exiting
the minibuffer. However, if `minibuffer-restore-windows' is present
in `minibuffer-exit-hook', exiting the minibuffer will remove the window
showing the *Completions* buffer, if any. */);