diff options
author | Leo Liu <sdl.web@gmail.com> | 2014-09-27 18:08:59 +0800 |
---|---|---|
committer | Leo Liu <sdl.web@gmail.com> | 2014-09-27 18:08:59 +0800 |
commit | 548e1696229e56053f5eb74b3f6d1c50041b0375 (patch) | |
tree | 80cc41fbc17266ae6e0de578faa84e397bad7a51 /lisp/emacs-lisp/eldoc.el | |
parent | 87eb617ac82d28a092a63958d29d4c616fdb43f7 (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.el | 2 |
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 |