Function: set-minibuffer-window
set-minibuffer-window is a function defined in minibuf.c.
Signature
(set-minibuffer-window WINDOW)
Documentation
Specify which minibuffer window to use for the minibuffer.
This affects where the minibuffer is displayed if you put text in it without invoking the usual minibuffer commands.
Source Code
// Defined in /usr/src/emacs/src/minibuf.c
{
CHECK_WINDOW (window);
if (! MINI_WINDOW_P (XWINDOW (window)))
error ("Window is not a minibuffer window");
minibuf_window = window;
return window;
}