commit
c0214f168c
1 changed files with 5 additions and 3 deletions
|
@ -415,8 +415,9 @@ the message buffer in a popup window."
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +popup/raise (window &optional arg)
|
(defun +popup/raise (window &optional arg)
|
||||||
"Raise the current popup window into a regular window.
|
"Raise the current popup window into a regular window and
|
||||||
If prefix ARG, raise the current popup into a new window."
|
return it. If prefix ARG, raise the current popup into a new
|
||||||
|
window and return that window."
|
||||||
(interactive
|
(interactive
|
||||||
(list (selected-window) current-prefix-arg))
|
(list (selected-window) current-prefix-arg))
|
||||||
(cl-check-type window window)
|
(cl-check-type window window)
|
||||||
|
@ -428,7 +429,8 @@ If prefix ARG, raise the current popup into a new window."
|
||||||
(+popup/close window 'force)
|
(+popup/close window 'force)
|
||||||
(if arg
|
(if arg
|
||||||
(pop-to-buffer buffer)
|
(pop-to-buffer buffer)
|
||||||
(switch-to-buffer buffer))))
|
(switch-to-buffer buffer))
|
||||||
|
(selected-window)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +popup/diagnose ()
|
(defun +popup/diagnose ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue