From 7cb78ecd636d513a4ef95b677034512caf6424d3 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 30 Aug 2008 03:25:50 +0000 Subject: [PATCH] (apropos-command): Ignore documentation errors. (Bug#825) --- lisp/apropos.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.39.5