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

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

[elpa] master e9f4d85 092/110: avy.el (avy-goto-char-timer): Obey avy-ba


From: Oleh Krehel
Subject: [elpa] master e9f4d85 092/110: avy.el (avy-goto-char-timer): Obey avy-background for initial search
Date: Sat, 11 May 2019 10:15:51 -0400 (EDT)

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

    avy.el (avy-goto-char-timer): Obey avy-background for initial search
    
    Fixes #259
---
 avy.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/avy.el b/avy.el
index 986e7d0..836153a 100644
--- a/avy.el
+++ b/avy.el
@@ -1911,6 +1911,8 @@ Otherwise, the whole regex is highlighted."
         char break overlays regex)
     (unwind-protect
          (progn
+           (avy--make-backgrounds
+            (avy-window-list))
            (while (and (not break)
                        (setq char
                              (read-char (format "%d  char%s: "
@@ -1972,7 +1974,8 @@ Otherwise, the whole regex is highlighted."
                                      (overlay-get ov 'window)))
                              overlays)))
       (dolist (ov overlays)
-        (delete-overlay ov)))))
+        (delete-overlay ov))
+      (avy--done))))
 
 ;;;###autoload
 (defun avy-goto-char-timer (&optional arg)



reply via email to

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