branch: master
commit 492ac494e9cce18b22ddacfdf09da86be19a0f42
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
avy.el (avy-pop-mark): Add
Fixes #81
---
avy.el | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/avy.el b/avy.el
index 25cd086..bd9161a 100644
--- a/avy.el
+++ b/avy.el
@@ -1024,6 +1024,11 @@ The window scope is determined by `avy-all-windows' (ARG
negates it)."
arg
avy-style))))
+(defun avy-pop-mark ()
+ "Jump back to the last location of `push-mark'."
+ (interactive)
+ (set-mark-command 4))
+
(define-obsolete-function-alias
'avy--goto 'identity "0.3.0"
"Don't use this function any more.