mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-14 05:43:04 +00:00
parent
1b78fb0d89
commit
edf1259f25
5
avy.el
5
avy.el
@ -1175,8 +1175,7 @@ This function obeys `avy-all-windows' setting."
|
||||
;; Highlight
|
||||
(when (>= (length str) 1)
|
||||
(let (found)
|
||||
(dolist (win (avy-window-list))
|
||||
(with-selected-window win
|
||||
(avy-dowindows nil
|
||||
(dolist (pair (avy--find-visible-regions
|
||||
(window-start)
|
||||
(window-end (selected-window) t)))
|
||||
@ -1191,7 +1190,7 @@ This function obeys `avy-all-windows' setting."
|
||||
(setq found t)
|
||||
(push ov overlays)
|
||||
(overlay-put ov 'window (selected-window))
|
||||
(overlay-put ov 'face 'avy-goto-char-timer-face))))))))
|
||||
(overlay-put ov 'face 'avy-goto-char-timer-face)))))))
|
||||
;; No matches at all, so there's surely a typo in the input.
|
||||
(unless found (beep)))))
|
||||
(nreverse (mapcar (lambda (ov)
|
||||
|
Loading…
x
Reference in New Issue
Block a user