summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2006-07-03 23:05:49 +0000
committerNick Roberts <nickrob@snap.net.nz>2006-07-03 23:05:49 +0000
commitbd9b3169be279adaeac792e1314c0b5049b94d73 (patch)
tree390b7e9e6acc5bd1e15442622b46b4b5957a4f1f
parent1fcef0ec9ccd5fa65568e3b19b386a0c1c5aa7dd (diff)
downloademacs-bd9b3169be279adaeac792e1314c0b5049b94d73.tar.gz
tooltip.el: Move comment about track-mouse...
progmodes/gud.el: ...to here.
-rw-r--r--lisp/progmodes/gud.el6
-rw-r--r--lisp/tooltip.el6
2 files changed, 6 insertions, 6 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index 1ce5d404a80..c57c88d3ece 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -3366,6 +3366,12 @@ only tooltips in the buffer containing the overlay arrow."
(defvar gud-tooltip-mouse-motions-active nil
"Locally t in a buffer if tooltip processing of mouse motion is enabled.")
+;; We don't set track-mouse globally because this is a big redisplay
+;; problem in buffers having a pre-command-hook or such installed,
+;; which does a set-buffer, like the summary buffer of Gnus. Calling
+;; set-buffer prevents redisplay optimizations, so every mouse motion
+;; would be accompanied by a full redisplay.
+
(defun gud-tooltip-activate-mouse-motions (activatep)
"Activate/deactivate mouse motion events for the current buffer.
ACTIVATEP non-nil means activate mouse motion events."
diff --git a/lisp/tooltip.el b/lisp/tooltip.el
index cacd6f59670..596db839e84 100644
--- a/lisp/tooltip.el
+++ b/lisp/tooltip.el
@@ -40,12 +40,6 @@
;;; Switching tooltips on/off
-;; We don't set track-mouse globally because this is a big redisplay
-;; problem in buffers having a pre-command-hook or such installed,
-;; which does a set-buffer, like the summary buffer of Gnus. Calling
-;; set-buffer prevents redisplay optimizations, so every mouse motion
-;; would be accompanied by a full redisplay.
-
(define-minor-mode tooltip-mode
"Toggle Tooltip mode.
With ARG, turn Tooltip mode on if and only if ARG is positive.