avy.el (avy--read-candidates): Use avy-window-list

Re #100
master
Oleh Krehel 11 years ago
parent 0a18a45959
commit df181f1e77
  1. 4
      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)

Loading…
Cancel
Save