Function: display-buffer--maybe-pop-up-frame-or-window
display-buffer--maybe-pop-up-frame-or-window is a byte-compiled
function defined in window.el.gz.
Signature
(display-buffer--maybe-pop-up-frame-or-window BUFFER ALIST)
Documentation
Try displaying BUFFER based on pop-up-frames or pop-up-windows.
ALIST is an association list of action symbols and values. See Info node (elisp) Buffer Display Action Alists for details of such alists.
If pop-up-frames is non-nil (and not graphic-only on a
text-only terminal), try with display-buffer-pop-up-frame. If
that cannot be done, and pop-up-windows is non-nil, try again
with display-buffer-pop-up-window.
Source Code
;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun display-buffer--maybe-pop-up-frame-or-window (buffer alist)
"Try displaying BUFFER based on `pop-up-frames' or `pop-up-windows'.
ALIST is an association list of action symbols and values. See
Info node `(elisp) Buffer Display Action Alists' for details of
such alists.
If `pop-up-frames' is non-nil (and not `graphic-only' on a
text-only terminal), try with `display-buffer-pop-up-frame'. If
that cannot be done, and `pop-up-windows' is non-nil, try again
with `display-buffer-pop-up-window'."
(or (display-buffer--maybe-pop-up-frame buffer alist)
(display-buffer--maybe-pop-up-window buffer alist)))