]> git.eshelyaron.com Git - emacs.git/commitdiff
(super-apropos-check-doc-file): Don't attempt to retrieve function
authorKarl Heuer <kwzh@gnu.org>
Sat, 12 Feb 1994 04:21:06 +0000 (04:21 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sat, 12 Feb 1994 04:21:06 +0000 (04:21 +0000)
documentation from a symbol with no function binding.

lisp/apropos.el

index 8cc2940349d7972bc6a23093c7fe07981cdc7c93..d418be52273362fd6e7f3b6da18972065605ec1e 100644 (file)
@@ -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)