avy.el (avy-push-mark): Turn off message

This commit is contained in:
Oleh Krehel 2019-03-18 15:47:52 +01:00
parent 7d73ceeb74
commit fd0101e9e3

3
avy.el
View File

@ -2053,10 +2053,11 @@ The window scope is determined by `avy-all-windows' (ARG negates it)."
(defun avy-push-mark () (defun avy-push-mark ()
"Store the current point and window." "Store the current point and window."
(let ((inhibit-message t))
(ring-insert avy-ring (ring-insert avy-ring
(cons (point) (selected-window))) (cons (point) (selected-window)))
(unless (region-active-p) (unless (region-active-p)
(push-mark))) (push-mark))))
(defun avy-pop-mark () (defun avy-pop-mark ()
"Jump back to the last location of `avy-push-mark'." "Jump back to the last location of `avy-push-mark'."