Function: hpath:display-buffer-other-frame
hpath:display-buffer-other-frame is an interactive and byte-compiled
function defined in hpath.el.
Signature
(hpath:display-buffer-other-frame BUFFER)
Documentation
Display and select BUFFER, in another frame.
BUFFER must be a buffer or a buffer name.
May create a new frame, or reuse an existing one. See the documentation of hpath:display-buffer for details. Return the window in which the buffer is displayed.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hpath.el
(defun hpath:display-buffer-other-frame (buffer)
"Display and select BUFFER, in another frame.
BUFFER must be a buffer or a buffer name.
May create a new frame, or reuse an existing one. See the
documentation of `hpath:display-buffer' for details. Return the
window in which the buffer is displayed."
(interactive "bDisplay buffer in other frame: ")
;; Give temporary modes such as isearch a chance to turn off.
(run-hooks 'mouse-leave-buffer-hook)
;; BW 4/30/2016 - Commented out in case interferes with Smart Key
;; selection and yanking or the region via drags.
;; (hpath:push-tag-mark)
(if (= (length (frame-list)) 1)
(select-frame (make-frame))
(other-frame 1))
(when (br-in-browser)
(br-to-view-window))
(switch-to-buffer buffer)
(selected-window))