emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master df181f1 44/78: avy.el (avy--read-candidates): Use avy-wind


From: Oleh Krehel
Subject: [elpa] master df181f1 44/78: avy.el (avy--read-candidates): Use avy-window-list
Date: Sat, 23 Jan 2016 14:00:00 +0000

branch: master
commit df181f1e777763ff68951e815f61986d4c8b8a12
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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

[Prev in Thread] Current Thread [Next in Thread]