diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-02-01 18:40:55 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-02-01 18:40:55 -0500 |
commit | 13841bfcc20881a268e3c853f65312390c589700 (patch) | |
tree | 86b8d066c45c3768675411a8c93c5bf973db7740 /lisp/mouse.el | |
parent | dc2bc29527d65f54704570c991e023cbb0723544 (diff) | |
download | emacs-13841bfcc20881a268e3c853f65312390c589700.tar.gz |
* lisp/mouse.el (mouse-drag-track): Always deactivate the mark before
running the final event's command since that command is in charge of
activating the mark if needed.
Fixes: debbugs:13523
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r-- | lisp/mouse.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el index 9c7bf6f9c36..a1aa104495a 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -880,9 +880,9 @@ DO-MOUSE-DRAG-REGION-POST-PROCESS should only be used by (copy-region-as-kill (mark) (point))))) ;; Otherwise, run binding of terminating up-event. + (deactivate-mark) (if do-multi-click (goto-char start-point) - (deactivate-mark) (unless moved-off-start (pop-mark))) |