From: Glenn Morris Date: Sat, 30 Aug 2008 03:25:50 +0000 (+0000) Subject: (apropos-command): Ignore documentation errors. (Bug#825) X-Git-Tag: emacs-pretest-23.0.90~3141 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7cb78ecd636d513a4ef95b677034512caf6424d3;p=emacs.git (apropos-command): Ignore documentation errors. (Bug#825) --- diff --git a/lisp/apropos.el b/lisp/apropos.el index 0f00d2d3617..a0ac773cd23 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -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)))