Fix bug #9924 with long display of system-configuration-options in emacsbug.el.
authorEli Zaretskii <eliz@gnu.org>
Sat, 28 Jan 2012 10:49:17 +0000 (12:49 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 28 Jan 2012 10:49:17 +0000 (12:49 +0200)
 lisp/mail/emacsbug.el (report-emacs-bug): Fill the potentially long
 line that displays system-configuration-options.

lisp/ChangeLog
lisp/mail/emacsbug.el

index e6c2b4c..1413394 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-28  Eli Zaretskii  <eliz@gnu.org>
+
+       * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
+       line that displays system-configuration-options.  (Bug#9924)
+
 2012-01-28  Drew Adams  <drew.adams@oracle.com>
 
        * descr-text.el (describe-char): Show information about POS, in
index 0e30727..29ce188 100644 (file)
@@ -231,10 +231,11 @@ usually do not have translators for other languages.\n\n")))
                     "', version "
                    (mapconcat 'number-to-string (x-server-version) ".") "\n")
          (error t)))
-    (if (and system-configuration-options
-            (not (equal system-configuration-options "")))
-       (insert "configured using `configure "
-               system-configuration-options "'\n\n"))
+    (when (and system-configuration-options
+              (not (equal system-configuration-options "")))
+      (insert "Configured using:\n `configure "
+             system-configuration-options "'\n\n")
+      (fill-region (line-beginning-position -1) (point)))
     (insert "Important settings:\n")
     (mapc
      (lambda (var)