mirror of
https://github.com/abo-abo/avy.git
synced 2026-02-04 06:42:26 +00:00
avy.el (avy-goto-char-timer): Obey avy-background for initial search
Fixes #259
This commit is contained in:
5
avy.el
5
avy.el
@@ -1911,6 +1911,8 @@ Otherwise, the whole regex is highlighted."
|
|||||||
(let ((str "")
|
(let ((str "")
|
||||||
(re-builder (or re-builder #'regexp-quote))
|
(re-builder (or re-builder #'regexp-quote))
|
||||||
char break overlays regex)
|
char break overlays regex)
|
||||||
|
(unwind-protect
|
||||||
|
(progn
|
||||||
(avy--make-backgrounds
|
(avy--make-backgrounds
|
||||||
(avy-window-list))
|
(avy-window-list))
|
||||||
(while (and (not break)
|
(while (and (not break)
|
||||||
@@ -1972,7 +1974,8 @@ Otherwise, the whole regex is highlighted."
|
|||||||
(cons (cons (overlay-start ov)
|
(cons (cons (overlay-start ov)
|
||||||
(overlay-end ov))
|
(overlay-end ov))
|
||||||
(overlay-get ov 'window)))
|
(overlay-get ov 'window)))
|
||||||
overlays)))
|
overlays)))
|
||||||
|
(dolist (ov overlays)
|
||||||
(delete-overlay ov))
|
(delete-overlay ov))
|
||||||
(avy--done))))
|
(avy--done))))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user