Fix doom-visible-windows including popup windows

This commit is contained in:
Henrik Lissner 2018-03-01 22:07:14 -05:00
parent 1aa07f4c09
commit 7542f4a660
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -126,9 +126,9 @@ If DERIVED-P, test with `derived-mode-p', otherwise use `eq'."
;;;###autoload
(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))
unless (eq (window-dedicated-p window) 'side)
unless (window-dedicated-p window)
collect window))
;;;###autoload