fix(popup): +popup/raise: recursive popup
Without this, raising a popup might result in simply opening a popup with the same rules.
This commit is contained in:
parent
f427c8a30e
commit
d8372b6e2d
1 changed files with 4 additions and 3 deletions
|
@ -437,9 +437,10 @@ window and return that window."
|
||||||
(+popup--inhibit-transient t)
|
(+popup--inhibit-transient t)
|
||||||
+popup--remember-last)
|
+popup--remember-last)
|
||||||
(+popup/close window 'force)
|
(+popup/close window 'force)
|
||||||
(if arg
|
(let (display-buffer-alist)
|
||||||
(pop-to-buffer buffer)
|
(if arg
|
||||||
(switch-to-buffer buffer))
|
(pop-to-buffer buffer)
|
||||||
|
(switch-to-buffer buffer)))
|
||||||
(selected-window)))
|
(selected-window)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue