Function: avy-next

avy-next is an interactive and natively compiled function defined in avy.el.

Signature

(avy-next)

Documentation

Go to the next candidate of the last avy-read.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/015952xhg9b72ira1qyjvb30bn11jiv3-emacs-packages-deps/share/emacs/site-lisp/elpa/avy-20241101.1357/avy.el
(defun avy-next ()
  "Go to the next candidate of the last `avy-read'."
  (interactive)
  (avy--last-candidates-cycle
   (lambda (pos lst)
     (when (< pos (1- (length lst)))
       (let ((candidate (nth (1+ pos) lst)))
         (goto-char (if (listp (car candidate)) (caar candidate) (car candidate))))))))