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:
parent
3d99ae8562
commit
adfc06f3dd
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue