aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/apropos.el
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1994-02-12 04:21:06 +0000
committerKarl Heuer <[email protected]>1994-02-12 04:21:06 +0000
commite1f672f5798d31602ceaf307db47e7003cf82083 (patch)
tree2e876444baf0a724dc595145f1e183b3b686bb20 /lisp/apropos.el
parent61563ba0c91f74b3cdbc84f6f555b96c613ab320 (diff)
(super-apropos-check-doc-file): Don't attempt to retrieve function
documentation from a symbol with no function binding.
Diffstat (limited to 'lisp/apropos.el')
-rw-r--r--lisp/apropos.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el
index 8cc2940349..d418be5227 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)