Commit fa05bfe0 authored by Glenn Morris's avatar Glenn Morris
Browse files

* mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.

parent 48e8c8aa
2012-09-10 Glenn Morris <rgm@gnu.org>
* mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2012-09-08 Alan Mackenzie <acm@muc.de> 2012-09-08 Alan Mackenzie <acm@muc.de>
AWK Mode: make auto-newline work when there's "==" in the pattern. AWK Mode: make auto-newline work when there's "==" in the pattern.
......
...@@ -304,9 +304,14 @@ usually do not have translators for other languages.\n\n"))) ...@@ -304,9 +304,14 @@ usually do not have translators for other languages.\n\n")))
(insert "\n")) (insert "\n"))
(insert "\n") (insert "\n")
(insert "Load-path shadows:\n") (insert "Load-path shadows:\n")
(message "Checking for load-path shadows...") (let* ((msg "Checking for load-path shadows...")
(let ((shadows (list-load-path-shadows t))) (result "done")
(message "Checking for load-path shadows...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)) (insert (if (zerop (length shadows))
"None found.\n" "None found.\n"
shadows))) shadows)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment