mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-14 05:43:04 +00:00
parent
e9d2e60965
commit
974e55b792
@ -339,6 +339,7 @@ The window scope is determined by `avy-all-windows' (ARG negates it)."
|
||||
(window-list)
|
||||
(list (selected-window))))
|
||||
(with-selected-window wnd
|
||||
(unless (memq major-mode '(image-mode doc-view-mode))
|
||||
(let ((ws (window-start)))
|
||||
(save-excursion
|
||||
(save-restriction
|
||||
@ -349,7 +350,7 @@ The window scope is determined by `avy-all-windows' (ARG negates it)."
|
||||
(max (1- (point)) ws) 'invisible)
|
||||
(push (cons (point) (selected-window))
|
||||
candidates))
|
||||
(forward-line 1)))))))
|
||||
(forward-line 1))))))))
|
||||
(avy--process (nreverse candidates) #'avy--overlay-pre)))
|
||||
|
||||
;;;###autoload
|
||||
|
Loading…
x
Reference in New Issue
Block a user