changeset 52686:ef1f49172c0b

(report-emacs-bug): Mention major and minor modes.
author Richard M. Stallman <rms@gnu.org>
date Tue, 30 Sep 2003 12:45:44 +0000
parents d35d6c2f780f
children fb1ccaa34830
files lisp/mail/emacsbug.el
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/emacsbug.el	Tue Sep 30 12:44:53 2003 +0000
+++ b/lisp/mail/emacsbug.el	Tue Sep 30 12:45:44 2003 +0000
@@ -141,6 +141,13 @@
     (insert (format "  default-enable-multibyte-characters: %s\n"
 		    default-enable-multibyte-characters))
     (insert "\n")
+    (insert (format "Major mode: %s\n" mode-name))
+    (insert "\n")
+    (insert "Minor modes in effect:\n")
+    (dolist (mode minor-mode-list)
+      (and (boundp mode) (symbol-value mode)
+	   (insert (format "  %s: %s\n" mode (symbol-value mode)))))
+    (insert "\n")
     (insert "Recent input:\n")
     (let ((before-keys (point)))
       (insert (mapconcat (lambda (key)