branch: master commit e9f4d85b8894a1bc0a0e4bedf999cd1ed5d341d6 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
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)