aboutsummaryrefslogtreecommitdiff
path: root/dictionary.el
diff options
context:
space:
mode:
Diffstat (limited to 'dictionary.el')
-rw-r--r--dictionary.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/dictionary.el b/dictionary.el
index 8a8a7ff..de0c908 100644
--- a/dictionary.el
+++ b/dictionary.el
@@ -1233,6 +1233,8 @@ It presents the word at point as default input and allows editing it."
(require 'balloon-help)
(error nil))))
+(make-variable-buffer-local 'dictionary-balloon-help-extent)
+
(if dictionary-use-balloon-help
(progn
@@ -1261,8 +1263,6 @@ It presents the word at point as default input and allows editing it."
(defvar dictionary-balloon-help-extent nil
"The extent for activating the balloon help")
-(make-variable-buffer-local 'dictionary-balloon-help-extent)
-
;;;###autoload
(defun dictionary-tooltip-mode (&optional arg)
"Display tooltips for the current word"