diff lisp/apropos.el @ 5928:0a2c25c9400c

(super-apropos-check-doc-file): Don't attempt to retrieve function documentation from a symbol with no function binding.
author Karl Heuer <kwzh@gnu.org>
date Sat, 12 Feb 1994 04:21:06 +0000
parents 9fb443ed4acf
children f2b01e6e4a1f
line wrap: on
line diff
--- a/lisp/apropos.el	Sat Feb 12 02:58:48 1994 +0000
+++ b/lisp/apropos.el	Sat Feb 12 04:21:06 1994 +0000
@@ -154,7 +154,7 @@
 		       (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)