branch: master
commit fd0101e9e3115a02cc904fc88014cd851e70bac5
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    avy.el (avy-push-mark): Turn off message
---
 avy.el | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/avy.el b/avy.el
index aa9456f..7b0929d 100644
--- a/avy.el
+++ b/avy.el
@@ -2053,10 +2053,11 @@ 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)))
-  (unless (region-active-p)
-    (push-mark)))
+  (let ((inhibit-message t))
+    (ring-insert avy-ring
+                 (cons (point) (selected-window)))
+    (unless (region-active-p)
+      (push-mark))))
 
 (defun avy-pop-mark ()
   "Jump back to the last location of `avy-push-mark'."

Reply via email to