diff options
Diffstat (limited to 'lisp/help-mode.el')
-rw-r--r-- | lisp/help-mode.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/help-mode.el b/lisp/help-mode.el index 85c1e62e2c3..fa7d9b325db 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el @@ -500,14 +500,14 @@ that." ((and (or (boundp sym) (get sym 'variable-documentation)) - (or - (documentation-property - sym 'variable-documentation) - (condition-case nil + (condition-case err + (or + (documentation-property + sym 'variable-documentation) (documentation-property (indirect-variable sym) - 'variable-documentation) - (cyclic-variable-indirection nil)))) + 'variable-documentation)) + (error (message "No doc found: %S" err) nil))) (help-xref-button 8 'help-variable sym)) ((fboundp sym) (help-xref-button 8 'help-function sym))))))) |