aboutsummaryrefslogtreecommitdiff
path: root/dictionary.el
diff options
context:
space:
mode:
authorTorsten Hilbrich <torsten.hilbrich@gmx.net>2013-07-03 05:51:34 +0200
committerTorsten Hilbrich <torsten.hilbrich@gmx.net>2013-07-05 18:16:35 +0200
commit8d203691c1eeb08682b65e467ca67cb921913bc3 (patch)
tree365430e77cb471bd7e9f798deac76a85e9ac25c1 /dictionary.el
parentbd8f0a1933f8ab86c62d968ad06e09dbe0c7e8c8 (diff)
dictionary: Avoid reference to undefined dictionary-server
Add a defvar so that the setter function for defcustom can set the variable without triggering a warning.
Diffstat (limited to 'dictionary.el')
-rwxr-xr-xdictionary.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/dictionary.el b/dictionary.el
index aed7af1..9145363 100755
--- a/dictionary.el
+++ b/dictionary.el
@@ -40,6 +40,7 @@
(defmacro defcustom (var value doc &rest ignored)
(list 'defvar var value doc))))
+(defvar dictionary-server)
(defun dictionary-set-server-var (name value)
(if (and (boundp 'dictionary-connection)
dictionary-connection