mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix doom-visible-windows including popup windows
This commit is contained in:
@ -126,9 +126,9 @@ If DERIVED-P, test with `derived-mode-p', otherwise use `eq'."
|
|||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom-visible-windows (&optional window-list)
|
(defun doom-visible-windows (&optional window-list)
|
||||||
"Return a list of the visible, non-popup windows."
|
"Return a list of the visible, non-popup (dedicated) windows."
|
||||||
(cl-loop for window in (or window-list (window-list))
|
(cl-loop for window in (or window-list (window-list))
|
||||||
unless (eq (window-dedicated-p window) 'side)
|
unless (window-dedicated-p window)
|
||||||
collect window))
|
collect window))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
Reference in New Issue
Block a user