diff options
author | Torsten Hilbrich <torsten.hilbrich@gmx.net> | 2019-11-11 05:38:19 +0100 |
---|---|---|
committer | Torsten Hilbrich <torsten.hilbrich@gmx.net> | 2019-11-11 05:38:19 +0100 |
commit | 5d6244281bf946525a4ed9037ce1c7b2f83f474f (patch) | |
tree | 52323a81c7307142489c0f6003c3c70a44aff798 /dictionary.el | |
parent | bf6b1e498ff074639745b399ba5c6b9754cbf6b6 (diff) |
dictionary: Move def for dictionary-balloon-help-extent
Fixes the followin warning:
dictionary.el:1289:43:Warning: ‘make-variable-buffer-local’ not called at
toplevel
Diffstat (limited to 'dictionary.el')
-rw-r--r-- | dictionary.el | 4 |
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" |