branch: master
commit eb28aeb40ed0c2b3ed617002547e603d6554a142
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    avy.el (avy-goto-line): push mark for numeric line
    
    Fixes #74
---
 avy.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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)))))))

Reply via email to