doom-visible-windows: fix predicate for 'popup window'
This commit is contained in:
parent
f3562eb038
commit
e9a012af34
1 changed files with 3 additions and 1 deletions
|
@ -105,7 +105,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 windows."
|
||||||
(cl-remove-if #'window-at-side-p (or window-list (window-list))))
|
(cl-loop for window in (or window-list (window-list))
|
||||||
|
unless (eq (window-dedicated-p window) 'side)
|
||||||
|
collect window))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom-visible-buffers (&optional buffer-list)
|
(defun doom-visible-buffers (&optional buffer-list)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue