branch: master
commit df181f1e777763ff68951e815f61986d4c8b8a12
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    avy.el (avy--read-candidates): Use avy-window-list
    
    Re #100
---
 avy.el |    4 +---
 1 files changed, 1 insertions(+), 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)

Reply via email to