aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKim F. Storm <[email protected]>2005-02-22 09:42:23 +0000
committerKim F. Storm <[email protected]>2005-02-22 09:42:23 +0000
commit161f8b5b777c5f14ff5ed6f4d21726890cdb5ac4 (patch)
treee2def16ce5d4662f45a9cd928309461c8ee84d01 /lisp
parentb0ca1b8a9689a39682d221cff2fef26a7adf33b9 (diff)
(tooltip-show-help-function): Pass event to
mouse-on-link-p so it can check selected window.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/tooltip.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/tooltip.el b/lisp/tooltip.el
index 2e60df0245..c4ac57eac9 100644
--- a/lisp/tooltip.el
+++ b/lisp/tooltip.el
@@ -488,7 +488,7 @@ MSG is either a help string to display, or nil to cancel the display."
(setq pos (posn-at-x-y (car pos) (cdr pos) (car mp)))
(windowp (posn-window pos)))
(with-current-buffer (window-buffer (posn-window pos))
- (if (mouse-on-link-p (posn-point pos))
+ (if (mouse-on-link-p pos)
(setq msg (concat
(cond
((eq mouse-1-click-follows-link 'double) "double-")