mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 13:33:03 +00:00
avy.el (avy-goto-line): Fix off-by-one
This commit is contained in:
parent
67662efdb3
commit
3f53a2a15e
2
avy.el
2
avy.el
@ -958,7 +958,7 @@ Otherwise, forward to `goto-line' with ARG."
|
|||||||
(if (not (memq arg '(1 4)))
|
(if (not (memq arg '(1 4)))
|
||||||
(progn
|
(progn
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(forward-line arg))
|
(forward-line (1- arg)))
|
||||||
(avy-with avy-goto-line
|
(avy-with avy-goto-line
|
||||||
(let* ((avy-handler-function
|
(let* ((avy-handler-function
|
||||||
(lambda (char)
|
(lambda (char)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user