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