From 5d6244281bf946525a4ed9037ce1c7b2f83f474f Mon Sep 17 00:00:00 2001 From: Torsten Hilbrich Date: Mon, 11 Nov 2019 05:38:19 +0100 Subject: dictionary: Move def for dictionary-balloon-help-extent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the followin warning: dictionary.el:1289:43:Warning: ‘make-variable-buffer-local’ not called at toplevel --- dictionary.el | 4 ++-- 1 file 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" -- cgit v1.2.3