summaryrefslogtreecommitdiff
path: root/lisp/help-mode.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2012-10-12 16:11:50 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2012-10-12 16:11:50 -0400
commit06485aa8215af39f9f5f999933aa39d349a2bdf9 (patch)
tree7969cb614e87d05d5d603c52bff9534e2a5ca415 /lisp/help-mode.el
parentbd0ffffd5a90e25d32708dd4fec29578648e1fad (diff)
downloademacs-06485aa8215af39f9f5f999933aa39d349a2bdf9.tar.gz
* src/doc.c (get_doc_string): Don't signal an error if the file is missing.
* lisp/help-fns.el (describe-variable, describe-function-1): * lisp/help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
Diffstat (limited to 'lisp/help-mode.el')
-rw-r--r--lisp/help-mode.el14
1 files changed, 6 insertions, 8 deletions
diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index 9924300647c..c1ce5a521be 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -505,14 +505,12 @@ that."
((and
(or (boundp sym)
(get sym 'variable-documentation))
- (condition-case err
- (or
- (documentation-property
- sym 'variable-documentation)
- (documentation-property
- (indirect-variable sym)
- 'variable-documentation))
- (error (message "No doc found: %S" err) nil)))
+ (or
+ (documentation-property
+ sym 'variable-documentation)
+ (documentation-property
+ (indirect-variable sym)
+ 'variable-documentation)))
(help-xref-button 8 'help-variable sym))
((fboundp sym)
(help-xref-button 8 'help-function sym)))))))