From e1f672f5798d31602ceaf307db47e7003cf82083 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sat, 12 Feb 1994 04:21:06 +0000 Subject: [PATCH] (super-apropos-check-doc-file): Don't attempt to retrieve function documentation from a symbol with no function binding. --- lisp/apropos.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5