mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add no-other-window in popup criteria
This allows +popup-window-p to recognize popup windows created by plugins (like treemacs).
This commit is contained in:
@ -160,7 +160,8 @@ and enables `+popup-buffer-mode'."
|
||||
(let ((window (or window (selected-window))))
|
||||
(and (windowp window)
|
||||
(window-live-p window)
|
||||
(window-parameter window 'popup)
|
||||
(or (window-parameter window 'popup)
|
||||
(window-parameter window 'no-other-window))
|
||||
window))))
|
||||
|
||||
;;;###autoload
|
||||
|
Reference in New Issue
Block a user