summaryrefslogtreecommitdiff
path: root/lisp/apropos.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-08-30 03:25:50 +0000
committerGlenn Morris <rgm@gnu.org>2008-08-30 03:25:50 +0000
commit7cb78ecd636d513a4ef95b677034512caf6424d3 (patch)
treec19e5cbf30603fd88fc1dab3a42bea1aab26be99 /lisp/apropos.el
parente77e9cf40975a5943b3c2bfdab6eca1c44eaa32f (diff)
downloademacs-7cb78ecd636d513a4ef95b677034512caf6424d3.tar.gz
(apropos-command): Ignore documentation errors. (Bug#825)
Diffstat (limited to 'lisp/apropos.el')
-rw-r--r--lisp/apropos.el2
1 files changed, 1 insertions, 1 deletions
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)))