Mercurial > emacs
diff lisp/tooltip.el @ 60205:3af3548ad26d
(tooltip-show-help-function): Pass event to
mouse-on-link-p so it can check selected window.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 22 Feb 2005 09:42:23 +0000 |
parents | 3d934eda2724 |
children | 60737ce5edc8 bf0d492ea2d5 |
line wrap: on
line diff
--- a/lisp/tooltip.el Tue Feb 22 09:42:06 2005 +0000 +++ b/lisp/tooltip.el Tue Feb 22 09:42:23 2005 +0000 @@ -488,7 +488,7 @@ (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-")