From bd9b3169be279adaeac792e1314c0b5049b94d73 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Mon, 3 Jul 2006 23:05:49 +0000 Subject: tooltip.el: Move comment about track-mouse... progmodes/gud.el: ...to here. --- lisp/progmodes/gud.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lisp/progmodes/gud.el') diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 1ce5d404a8..c57c88d3ec 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." -- cgit v1.2.3