mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -437,9 +437,10 @@ window and return that window."
|
||||
(+popup--inhibit-transient t)
|
||||
+popup--remember-last)
|
||||
(+popup/close window 'force)
|
||||
(if arg
|
||||
(pop-to-buffer buffer)
|
||||
(switch-to-buffer buffer))
|
||||
(let (display-buffer-alist)
|
||||
(if arg
|
||||
(pop-to-buffer buffer)
|
||||
(switch-to-buffer buffer)))
|
||||
(selected-window)))
|
||||
|
||||
;;;###autoload
|
||||
|
Reference in New Issue
Block a user