emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master fd0101e 101/110: avy.el (avy-push-mark): Turn off message


From: Oleh Krehel
Subject: [elpa] master fd0101e 101/110: avy.el (avy-push-mark): Turn off message
Date: Sat, 11 May 2019 10:15:54 -0400 (EDT)

branch: master
commit fd0101e9e3115a02cc904fc88014cd851e70bac5
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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

[Prev in Thread] Current Thread [Next in Thread]