Function: avy--line

avy--line is a byte-compiled function defined in avy.el.

Signature

(avy--line &optional ARG BEG END BOTTOM-UP)

Documentation

Select a line.

The window scope is determined by avy-all-windows. When ARG is non-nil, do the opposite of avy-all-windows. BEG and END narrow the scope where candidates are searched. When BOTTOM-UP is non-nil, display avy candidates from top to bottom

Source Code

;; Defined in ~/.emacs.d/elpa/avy-20241101.1357/avy.el
(defun avy--line (&optional arg beg end bottom-up)
  "Select a line.
The window scope is determined by `avy-all-windows'.
When ARG is non-nil, do the opposite of `avy-all-windows'.
BEG and END narrow the scope where candidates are searched.
When BOTTOM-UP is non-nil, display avy candidates from top to bottom"
  (setq avy-action (or avy-action #'identity))
  (let ((avy-style (if avy-linum-mode
                       (progn
                         (message "Goto line:")
                         'ignore)
                     avy-style)))
    (avy-process
     (avy--line-cands arg beg end bottom-up))))