From: Karl Heuer Date: Sat, 12 Feb 1994 04:21:06 +0000 (+0000) Subject: (super-apropos-check-doc-file): Don't attempt to retrieve function X-Git-Tag: emacs-19.34~9923 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e1f672f5798d31602ceaf307db47e7003cf82083;p=emacs.git (super-apropos-check-doc-file): Don't attempt to retrieve function documentation from a symbol with no function binding. --- diff --git a/lisp/apropos.el b/lisp/apropos.el index 8cc2940349d..d418be52273 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -154,7 +154,7 @@ Returns list of symbols and documentation found." (point)))) item (assq symbol sym-list)) (and (if (= type 1) - (documentation symbol) + (and (fboundp symbol) (documentation symbol)) (documentation-property symbol 'variable-documentation)) (or item (setq item (list symbol nil nil)