diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-02-22 13:22:04 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-02-22 13:22:04 -0500 |
commit | 5f9d345ca90b78184fd8b142310e43f23e529120 (patch) | |
tree | a635fe559e8e383f6aaad6b60e263c8e47468a09 /lisp/help-fns.el | |
parent | 32e793fa11f55ed480f7c42034635a0561d4b837 (diff) | |
download | emacs-5f9d345ca90b78184fd8b142310e43f23e529120.tar.gz |
* lisp/help-fns.el (describe-function-1): Don't signal an error just because
the DOC file disappeared.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r-- | lisp/help-fns.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 12b77672a53..1cd5526fcff 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -476,7 +476,8 @@ suitable file is found, return nil." (let* ((advertised (gethash def advertised-signature-table t)) (arglist (if (listp advertised) advertised (help-function-arglist def))) - (doc (documentation function)) + (doc (condition-case err (documentation function) + (error (format "No Doc! %S" err)))) (usage (help-split-fundoc doc function))) (with-current-buffer standard-output ;; If definition is a keymap, skip arglist note. |