Function: hui-menu-move-window-to-new-frame
hui-menu-move-window-to-new-frame is an interactive and byte-compiled
function defined in hui-jmenu.el.
Signature
(hui-menu-move-window-to-new-frame)
Documentation
Delete the selected window and display its buffer in a newly selected frame.
The window is deleted only if there are two or more windows in the selected frame. The current buffer is buried in the old frame's buffer list.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-jmenu.el
(defun hui-menu-move-window-to-new-frame ()
"Delete the selected window and display its buffer in a newly selected frame.
The window is deleted only if there are two or more windows in the selected
frame. The current buffer is buried in the old frame's buffer list."
(interactive)
(let ((buffer (current-buffer)))
(bury-buffer)
(unless (one-window-p t)
(delete-window))
(select-frame (make-frame))
(switch-to-buffer buffer)))