From 7542f4a660958599909c9d8807e0ade40556d3db Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 1 Mar 2018 22:07:14 -0500 Subject: [PATCH] Fix doom-visible-windows including popup windows --- core/autoload/buffers.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/autoload/buffers.el b/core/autoload/buffers.el index 5e4da2e4f..196481512 100644 --- a/core/autoload/buffers.el +++ b/core/autoload/buffers.el @@ -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