New command: doom/popup-raise
This commit is contained in:
parent
6de185409f
commit
bc1d2480b0
1 changed files with 10 additions and 0 deletions
|
@ -230,6 +230,16 @@ prevent the popup(s) from messing up the UI (or vice versa)."
|
|||
(when (/= count 0)
|
||||
(other-window count)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/popup-raise (&optional window)
|
||||
"Turn a popup window into a normal window."
|
||||
(interactive)
|
||||
(let ((window (or window (selected-window))))
|
||||
(unless (doom-popup-p window)
|
||||
(user-error "Not a valid popup to raise"))
|
||||
(with-selected-window window
|
||||
(doom-popup-mode -1))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-popup-move (direction)
|
||||
"Move a popup window to another side of the frame, in DIRECTION, which can be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue