summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eldoc.el
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2014-09-27 18:08:59 +0800
committerLeo Liu <sdl.web@gmail.com>2014-09-27 18:08:59 +0800
commit548e1696229e56053f5eb74b3f6d1c50041b0375 (patch)
tree80cc41fbc17266ae6e0de578faa84e397bad7a51 /lisp/emacs-lisp/eldoc.el
parent87eb617ac82d28a092a63958d29d4c616fdb43f7 (diff)
* lisp/emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
* lisp/progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
-rw-r--r--lisp/emacs-lisp/eldoc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index c190e2745e..9e15375d92 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -186,7 +186,7 @@ expression point is on."
:group 'eldoc :lighter eldoc-minor-mode-string
(setq eldoc-last-message nil)
(cond
- (eldoc-documentation-function
+ ((not eldoc-documentation-function)
(message "There is no ElDoc support in this buffer")
(setq eldoc-mode nil))
(eldoc-mode