Consider any window with no-other-window a popup

This allows +popup/other (other-popup) to jump to side windows created
outside of Doom's popup manager (e.g. treemacs or neotree).
This commit is contained in:
Henrik Lissner 2020-07-25 17:50:27 -04:00
parent 99d5cd1fba
commit b8a8ca9b06
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -181,7 +181,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