aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mouse.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index bc05a35009e..32996b2eded 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -2007,6 +2007,10 @@ This must be bound to a button-down mouse event."
2007 (setq dragged t) 2007 (setq dragged t)
2008 (mouse-minibuffer-check start-event) 2008 (mouse-minibuffer-check start-event)
2009 (deactivate-mark) 2009 (deactivate-mark)
2010 (setq-local transient-mark-mode
2011 (if (eq transient-mark-mode 'lambda)
2012 '(only)
2013 (cons 'only transient-mark-mode)))
2010 (posn-set-point start-pos) 2014 (posn-set-point start-pos)
2011 (rectangle-mark-mode) 2015 (rectangle-mark-mode)
2012 ;; Only tell rectangle about the exact column if we are possibly 2016 ;; Only tell rectangle about the exact column if we are possibly