The `quit-restore' parameter tells how to proceed with a window when
the user "quits" it by invoking `quit-restore-window', see *Note
Displaying Buffers::. The following non-`nil' values of this parameter
have a special meaning.
`t'
This means to delete the associated window. By default, `t' is
used for a "temporary" window that was obtained by splitting an
existing window.
`frame'
This means to delete the associated window's frame. This value
indicates that the associated windows was obtained by popping up a
new frame showing just this window. If the window is no more
needed, it should be deleted together with the containing frame.
A list
This option is useful when the associated window was borrowed to
temporarily display some buffer and quitting shall "restore" the
previous contents of the window. The first three elements of the
list must specify a buffer, a window start position, and a window
point. Quitting the window will then try to display the indicated
buffer with the given start position and point in that window.
The fourth element, if non-`nil', must denote a live buffer. If
specified, quitting will restore the previous window contents if
and only if the buffer shown in the window is the buffer named by
this element.
The fifth element, if non-`nil', should specify the desired height
of the window when its buffer is restored. This value is applied
if the buffer temporarily shown in the window was in
`temp-buffer-resize-mode' to restore the original height of the
window.