avy.el (avy--line): Obey avy-background

Fixes #94
This commit is contained in:
Oleh Krehel 2015-08-24 11:11:26 +02:00
parent 72afecbc29
commit b1ef1f8f8c

3
avy.el
View File

@ -915,8 +915,7 @@ Which one depends on variable `subword-mode'."
(defun avy--line (&optional arg)
"Select a line.
The window scope is determined by `avy-all-windows' (ARG negates it)."
(let ((avy-background nil)
candidates)
(let (candidates)
(avy-dowindows arg
(let ((ws (window-start)))
(save-excursion