]> git.eshelyaron.com Git - emacs.git/commitdiff
(apropos-command): Ignore documentation errors. (Bug#825)
authorGlenn Morris <rgm@gnu.org>
Sat, 30 Aug 2008 03:25:50 +0000 (03:25 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 30 Aug 2008 03:25:50 +0000 (03:25 +0000)
lisp/apropos.el

index 0f00d2d36171a2c5cdee74db47b32e10b26e42fc..a0ac773cd2396a8cb6a289ef730ff7bc96d8d75a 100644 (file)
@@ -489,7 +489,7 @@ while a list of strings is used as a word list."
                   (setq score (apropos-score-symbol symbol))
                   (unless var-predicate
                     (if (fboundp symbol)
-                        (if (setq doc (documentation symbol t))
+                        (if (setq doc (ignore-errors (documentation symbol t)))
                             (progn
                               (setq score (+ score (apropos-score-doc doc)))
                               (substring doc 0 (string-match "\n" doc)))