Fix doom-visible-windows including popup windows
This commit is contained in:
parent
1aa07f4c09
commit
7542f4a660
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue