changeset 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 c921af3939e8
children 2538d44f96d4
files lisp/apropos.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)