* lisp/mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
authorGlenn Morris <rgm@gnu.org>
Mon, 24 Sep 2012 00:46:47 +0000 (17:46 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 24 Sep 2012 00:46:47 +0000 (17:46 -0700)
lisp/ChangeLog
lisp/mail/emacsbug.el

index 420e4d9..6203b2a 100644 (file)
@@ -1,3 +1,7 @@
+2012-09-24  Glenn Morris  <rgm@gnu.org>
+
+       * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
+
 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
 
        * progmodes/python.el (python-indent-line): More consistent cursor
index ca9bc6b..ad2167b 100644 (file)
@@ -248,6 +248,13 @@ usually do not have translators for other languages.\n\n")))
                     "', version "
                    (mapconcat 'number-to-string (x-server-version) ".") "\n")
          (error t)))
+    (let ((lsb (with-temp-buffer
+                (if (eq 0 (ignore-errors
+                            (call-process "lsb_release" nil '(t nil)
+                                          nil "-d")))
+                    (buffer-string)))))
+      (if (stringp lsb)
+         (insert "LSB Release " lsb "\n")))
     (when (and system-configuration-options
               (not (equal system-configuration-options "")))
       (insert "Configured using:\n `configure "