[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp/mail emacsbug.el
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] emacs/lisp/mail emacsbug.el |
Date: |
Wed, 22 Jul 2009 02:34:51 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 09/07/22 02:34:51
Modified files:
lisp/mail : emacsbug.el
Log message:
(report-emacs-bug): Include any load-path shadows.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/mail/emacsbug.el?cvsroot=emacs&r1=1.87&r2=1.88
Patches:
Index: emacsbug.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/mail/emacsbug.el,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -b -r1.87 -r1.88
--- emacsbug.el 5 Jan 2009 03:22:31 -0000 1.87
+++ emacsbug.el 22 Jul 2009 02:34:51 -0000 1.88
@@ -206,6 +206,18 @@
(setq beg-pos (point)))
(insert "\n\nRecent messages:\n")
(insert-buffer-substring message-buf beg-pos end-pos))))
+ ;; After Recent messages, to avoid the messages produced by
+ ;; list-load-path-shadows.
+ (unless (looking-back "\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")
+ (insert (if (zerop (length shadows))
+ "None found.\n"
+ shadows)))
;; This is so the user has to type something
;; in order to send easily.
(use-local-map (nconc (make-sparse-keymap) (current-local-map)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs/lisp/mail emacsbug.el,
Glenn Morris <=