summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2014-03-22 23:16:14 -0700
committerDaniel Colascione <dancol@dancol.org>2014-03-22 23:16:14 -0700
commita41475e146758ae24e800bbb18fd3fae4b5ef3b7 (patch)
tree5d11f6136f1ff497b8d130cf136bfe59bcc9afba /lisp/mail
parente4e40f72f3cfd29c98f6a450490cdb4caf1bdc68 (diff)
downloademacs-a41475e146758ae24e800bbb18fd3fae4b5ef3b7.tar.gz
Backport memory info in bug reports (2014-03-21T21:27:25Z!dancol@dancol.org) from trunk
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/emacsbug.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 0f72d24ed1e..b994949e94d 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -322,6 +322,10 @@ usually do not have translators for other languages.\n\n")))
shadows)))
(insert (format "\nFeatures:\n%s\n" features))
(fill-region (line-beginning-position 0) (point))
+
+ (insert (format "\nMemory information:\n"))
+ (pp (garbage-collect) (current-buffer))
+
;; This is so the user has to type something in order to send easily.
(use-local-map (nconc (make-sparse-keymap) (current-local-map)))
(define-key (current-local-map) "\C-c\C-i" 'info-emacs-bug)