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

    avy.el (avy--line): Obey avy-background
    
    Fixes #94
---
 avy.el |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/avy.el b/avy.el
index ea0cb8d..5d1838f 100644
--- a/avy.el
+++ b/avy.el
@@ -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

Reply via email to