From df181f1e777763ff68951e815f61986d4c8b8a12 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Wed, 21 Oct 2015 20:37:55 +0200 Subject: [PATCH] avy.el (avy--read-candidates): Use avy-window-list Re #100 --- avy.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/avy.el b/avy.el index c78e0c8..8675a7a 100644 --- a/avy.el +++ b/avy.el @@ -1131,9 +1131,7 @@ This function obeys `avy-all-windows' setting." (setq str (concat str (list char))))) ;; Highlight (when (>= (length str) 1) - (dolist (win (if avy-all-windows - (window-list) - (list (selected-window)))) + (dolist (win (avy-window-list)) (with-selected-window win (dolist (pair (avy--find-visible-regions (window-start)