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)."
(avy-process (avy-process
(avy--read-candidates))))) (avy--read-candidates)))))
(defun avy-push-mark ()
"Store the current point and window." "Store the current point and window."
(let ((inhibit-message t)) (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))))