summaryrefslogtreecommitdiff
path: root/lisp/mail/emacsbug.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-09-09 19:19:23 -0700
committerGlenn Morris <rgm@gnu.org>2012-09-09 19:19:23 -0700
commitfa05bfe0525d75bde4c94c3cbbd90c5fa7a5a7dc (patch)
tree0d2ae275f5d69c3e5663e6b885f83f3e1e65f3b2 /lisp/mail/emacsbug.el
parent48e8c8aad6a03b6b20a781b29da8d3e445ab2af7 (diff)
downloademacs-fa05bfe0525d75bde4c94c3cbbd90c5fa7a5a7dc.tar.gz
* mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
Diffstat (limited to 'lisp/mail/emacsbug.el')
-rw-r--r--lisp/mail/emacsbug.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 1a02ae7c519..742c05bc8d5 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -304,9 +304,14 @@ usually do not have translators for other languages.\n\n")))
(insert "\n"))
(insert "\n")
(insert "Load-path shadows:\n")
- (message "Checking for load-path shadows...")
- (let ((shadows (list-load-path-shadows t)))
- (message "Checking for load-path shadows...done")
+ (let* ((msg "Checking for load-path shadows...")
+ (result "done")
+ (shadows (progn (message "%s" msg)
+ (condition-case nil (list-load-path-shadows t)
+ (error
+ (setq result "error")
+ "Error during checking")))))
+ (message "%s%s" msg result)
(insert (if (zerop (length shadows))
"None found.\n"
shadows)))