aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-07-22 02:34:51 +0000
committerGlenn Morris2009-07-22 02:34:51 +0000
commit0b9521973ec469fc55ee0aa927cbaf2b4123459f (patch)
tree5b51989c3ea232c7e0b2539bbc7051f84d69fc63
parent7ba65108e5acf2a806339bb83e6a6c2c38177eb2 (diff)
downloademacs-0b9521973ec469fc55ee0aa927cbaf2b4123459f.tar.gz
emacs-0b9521973ec469fc55ee0aa927cbaf2b4123459f.zip
(report-emacs-bug): Include any load-path shadows.
-rw-r--r--lisp/mail/emacsbug.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 7132da6785d..e09b68de2b3 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -206,6 +206,18 @@ usually do not have translators to read other languages for them.\n\n")
206 (setq beg-pos (point))) 206 (setq beg-pos (point)))
207 (insert "\n\nRecent messages:\n") 207 (insert "\n\nRecent messages:\n")
208 (insert-buffer-substring message-buf beg-pos end-pos)))) 208 (insert-buffer-substring message-buf beg-pos end-pos))))
209 ;; After Recent messages, to avoid the messages produced by
210 ;; list-load-path-shadows.
211 (unless (looking-back "\n")
212 (insert "\n"))
213 (insert "\n")
214 (insert "Load-path shadows:\n")
215 (message "Checking for load-path shadows...")
216 (let ((shadows (list-load-path-shadows t)))
217 (message "Checking for load-path shadows...done")
218 (insert (if (zerop (length shadows))
219 "None found.\n"
220 shadows)))
209 ;; This is so the user has to type something 221 ;; This is so the user has to type something
210 ;; in order to send easily. 222 ;; in order to send easily.
211 (use-local-map (nconc (make-sparse-keymap) (current-local-map))) 223 (use-local-map (nconc (make-sparse-keymap) (current-local-map)))