changeset 97864:68aa068f4c20

(apropos-command): Ignore documentation errors. (Bug#825)
author Glenn Morris <rgm@gnu.org>
date Sat, 30 Aug 2008 03:25:50 +0000
parents 056f348c2bf4
children 52bbade97925
files lisp/apropos.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/apropos.el	Sat Aug 30 02:22:47 2008 +0000
+++ b/lisp/apropos.el	Sat Aug 30 03:25:50 2008 +0000
@@ -489,7 +489,7 @@
 		   (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)))