From eb28aeb40ed0c2b3ed617002547e603d6554a142 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Wed, 1 Jul 2015 14:32:04 +0200 Subject: [PATCH] avy.el (avy-goto-line): push mark for numeric line Fixes #74 --- avy.el | 1 + 1 file changed, 1 insertion(+) diff --git a/avy.el b/avy.el index 5a8b5ce..4498e04 100644 --- a/avy.el +++ b/avy.el @@ -863,6 +863,7 @@ The window scope is determined by `avy-all-windows' (ARG negates it)." (let ((line (read-from-minibuffer "Goto line: " (string char)))) (when line + (push-mark) (goto-char (point-min)) (forward-line (1- (string-to-number line))) (throw 'done 'exit)))))))