summaryrefslogtreecommitdiff
path: root/dictionary.el
diff options
context:
space:
mode:
Diffstat (limited to 'dictionary.el')
-rwxr-xr-xdictionary.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/dictionary.el b/dictionary.el
index 9c77e8b..ef820de 100755
--- a/dictionary.el
+++ b/dictionary.el
@@ -1183,7 +1183,7 @@ It presents the word at point as default input and allows editing it."
nil
"This dictionary to lookup words for tooltips"
:group 'dictionary
- :type 'string)
+ :type '(choice (const :tag "Default" nil) string))
(defun dictionary-definition (word &optional dictionary)
(interactive)
@@ -1276,7 +1276,7 @@ It presents the word at point as default input and allows editing it."
(defun dictionary-display-tooltip (event)
"Search the current word in the `dictionary-tooltip-dictionary'."
(interactive "e")
- (if dictionary-tooltip-dictionary
+ (if t ; dictionary-tooltip-dictionary
(let ((word (save-window-excursion
(save-excursion
(mouse-set-point event)