mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 13:33:03 +00:00
avy.el (avy-push-mark): Bring back push-mark
Fixes abo-abo/ace-window#41
This commit is contained in:
parent
53decea669
commit
72afecbc29
4
avy.el
4
avy.el
@ -1053,7 +1053,9 @@ The window scope is determined by `avy-all-windows' (ARG negates it)."
|
||||
(defun avy-push-mark ()
|
||||
"Store the current point and window."
|
||||
(ring-insert avy-ring
|
||||
(cons (point) (selected-window))))
|
||||
(cons (point) (selected-window)))
|
||||
(unless (region-active-p)
|
||||
(push-mark)))
|
||||
|
||||
(defun avy-pop-mark ()
|
||||
"Jump back to the last location of `avy-push-mark'."
|
||||
|
Loading…
x
Reference in New Issue
Block a user