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