]> code.delx.au - gnu-emacs/commitdiff
tooltip.el: Move comment about track-mouse...
authorNick Roberts <nickrob@snap.net.nz>
Mon, 3 Jul 2006 23:05:49 +0000 (23:05 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Mon, 3 Jul 2006 23:05:49 +0000 (23:05 +0000)
progmodes/gud.el: ...to here.

lisp/progmodes/gud.el
lisp/tooltip.el

index 1ce5d404a80b85ada57ea4e246b752a8f0250bbb..c57c88d3ece02ff3ff21bf2510819ac2e1ac566a 100644 (file)
@@ -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."
index cacd6f59670985953d2f3d9f653dba88727c2066..596db839e847f2f3673a97196f75625b2cceda64 100644 (file)
 \f
 ;;; 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.