Function: display-buffer-other-frame
display-buffer-other-frame is an interactive and byte-compiled
function defined in window.el.gz.
Signature
(display-buffer-other-frame BUFFER)
Documentation
Display buffer BUFFER preferably in another frame.
This function attempts to look for a window displaying BUFFER,
on all the frames on the current terminal, skipping the selected
window; if that fails, it pops up a new frame.
This uses the function display-buffer as a subroutine; see
its documentation for additional customization information.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun display-buffer-other-frame (buffer)
"Display buffer BUFFER preferably in another frame.
This function attempts to look for a window displaying BUFFER,
on all the frames on the current terminal, skipping the selected
window; if that fails, it pops up a new frame.
This uses the function `display-buffer' as a subroutine; see
its documentation for additional customization information."
(interactive "bDisplay buffer in other frame: ")
(display-buffer buffer display-buffer--other-frame-action t))