aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mouse.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 865b5e96297..912048cd1de 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -1,6 +1,6 @@
1;;; mouse.el --- window system-independent mouse support 1;;; mouse.el --- window system-independent mouse support
2 2
3;; Copyright (C) 1993, 94, 95, 1999, 2000, 01, 2004 3;; Copyright (C) 1993, 94, 95, 1999, 2000, 2001, 2002, 2003, 2004
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
@@ -46,6 +46,7 @@
46(defcustom mouse-drag-copy-region t 46(defcustom mouse-drag-copy-region t
47 "*If non-nil, mouse drag copies region to kill-ring." 47 "*If non-nil, mouse drag copies region to kill-ring."
48 :type 'boolean 48 :type 'boolean
49 :version "21.4"
49 :group 'mouse) 50 :group 'mouse)
50 51
51 52
@@ -363,6 +364,7 @@ MODE-LINE-P non-nil means dragging a mode line; nil means a header line."
363 (start-nwindows (count-windows t)) 364 (start-nwindows (count-windows t))
364 (old-selected-window (selected-window)) 365 (old-selected-window (selected-window))
365 (minibuffer (frame-parameter nil 'minibuffer)) 366 (minibuffer (frame-parameter nil 'minibuffer))
367 (mouse-autoselect-window nil)
366 should-enlarge-minibuffer event mouse y top bot edges wconfig growth) 368 should-enlarge-minibuffer event mouse y top bot edges wconfig growth)
367 (track-mouse 369 (track-mouse
368 (progn 370 (progn
@@ -741,6 +743,7 @@ If the click is in the echo area, display the `*Messages*' buffer."
741 (start-frame (window-frame start-window)) 743 (start-frame (window-frame start-window))
742 (start-hscroll (window-hscroll start-window)) 744 (start-hscroll (window-hscroll start-window))
743 (bounds (window-edges start-window)) 745 (bounds (window-edges start-window))
746 (make-cursor-line-fully-visible nil)
744 (top (nth 1 bounds)) 747 (top (nth 1 bounds))
745 (bottom (if (window-minibuffer-p start-window) 748 (bottom (if (window-minibuffer-p start-window)
746 (nth 3 bounds) 749 (nth 3 bounds)