Function: frameset-filter-minibuffer
frameset-filter-minibuffer is a byte-compiled function defined in
frameset.el.gz.
Signature
(frameset-filter-minibuffer CURRENT FILTERED PARAMETERS SAVING)
Documentation
Force the minibuffer parameter to have a sensible value.
When saving, convert (minibuffer . #<window>) to (minibuffer . nil). When restoring, if there are two copies, keep the one pointing to a live window.
For the meaning of CURRENT, FILTERED, PARAMETERS and SAVING,
see frameset-filter-alist.
Source Code
;; Defined in /usr/src/emacs/lisp/frameset.el.gz
(defun frameset-filter-minibuffer (current filtered _parameters saving)
"Force the minibuffer parameter to have a sensible value.
When saving, convert (minibuffer . #<window>) to (minibuffer . nil).
When restoring, if there are two copies, keep the one pointing to
a live window.
For the meaning of CURRENT, FILTERED, PARAMETERS and SAVING,
see `frameset-filter-alist'."
(let ((value (cdr current)) mini)
(cond (saving
;; "Fix semantics of 'minibuffer' frame parameter" change:
;; When the cdr of the parameter is a minibuffer window, save
;; (minibuffer . nil) instead of (minibuffer . t).
(if (windowp value)
'(minibuffer . nil)
t))
((setq mini (assq 'minibuffer filtered))
(when (windowp value) (setcdr mini value))
nil)
(t t))))