]> git.eshelyaron.com Git - emacs.git/commitdiff
rect.el: Suppress superfluous "Mark set" message from push-mark.
authorKelly Dean <kelly@prtime.org>
Wed, 18 Feb 2015 07:38:13 +0000 (07:38 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 18 Feb 2015 18:36:24 +0000 (16:36 -0200)
lisp/ChangeLog
lisp/rect.el

index 73e139657bb8bc026f5a1ba64338df5516604b67..a15295f4b4e36eaab9865f79d1d831ca13981672 100644 (file)
@@ -1,3 +1,8 @@
+2015-02-18  Kelly Dean  <kelly@prtime.org>
+
+       * rect.el (rectangle-mark-mode):
+       Suppress superfluous "Mark set" message from push-mark.
+
 2015-02-18  Kelly Dean  <kelly@prtime.org>
 
        * help-mode.el (help-go-back, help-go-forward, help-follow):
index c5a548647f302c3053f01ad3525422db9dbb81ea..75585d2f080c7ff55b5213a97bca862059b9830c 100644 (file)
@@ -586,8 +586,7 @@ Activates the region if needed.  Only lasts until the region is deactivated."
     (add-hook 'deactivate-mark-hook
               (lambda () (rectangle-mark-mode -1)))
     (unless (region-active-p)
-      (push-mark)
-      (activate-mark)
+      (push-mark (point) t t)
       (message "Mark set (rectangle mode)"))))
 
 (defun rectangle-exchange-point-and-mark (&optional arg)