mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
(apropos-command): Ignore documentation errors. (Bug#825)
This commit is contained in:
parent
e77e9cf409
commit
7cb78ecd63
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user