mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
rect.el: Suppress superfluous "Mark set" message from push-mark.
This commit is contained in:
parent
72f7eded97
commit
56f5ea17f1
2 changed files with 6 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue