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--remember-last)
|
||||
(+popup/close window 'force)
|
||||
(let (display-buffer-alist)
|
||||
(if arg
|
||||
(pop-to-buffer buffer)
|
||||
(switch-to-buffer buffer))
|
||||
(switch-to-buffer buffer)))
|
||||
(selected-window)))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue