* lisp/net/dictionary.el (dictionary-tooltip-mouse-event): Place
variable before dictionary-display-tooltip to avoid warning about use of
free variable when compiling dictionary-display-tooltip
(goto-char point)
(current-word))))))
+(defvar dictionary-tooltip-mouse-event nil
+ "Event that triggered the tooltip mode")
+
(defun dictionary-display-tooltip (event)
"Search the current word in the `dictionary-tooltip-dictionary'."
(interactive "e")
t)
nil))
-(defvar dictionary-tooltip-mouse-event nil
- "Event that triggered the tooltip mode")
-
(defun dictionary-tooltip-track-mouse (event)
"Called whenever a dictionary tooltip display is about to be triggered."
(interactive "e")