mirror of
https://github.com/abo-abo/avy.git
synced 2026-02-04 06:42:26 +00:00
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)
|
||||
|
||||
Reference in New Issue
Block a user