From 548e1696229e56053f5eb74b3f6d1c50041b0375 Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Sat, 27 Sep 2014 18:08:59 +0800 Subject: * lisp/emacs-lisp/eldoc.el (eldoc-mode): Fix thinko. * lisp/progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar. --- lisp/emacs-lisp/eldoc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emacs-lisp/eldoc.el') 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 -- cgit v1.2.3