Commit 161f8b5b authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(tooltip-show-help-function): Pass event to

mouse-on-link-p so it can check selected window.
parent b0ca1b8a
......@@ -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-")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment