From: Glenn Morris Date: Mon, 24 Sep 2012 00:46:47 +0000 (-0700) Subject: * lisp/mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'. X-Git-Tag: emacs-24.2.90~244^2~109 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bcc0adbf3cf3976daf5686a73a1bbd8562027a2a;p=emacs.git * lisp/mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 420e4d992bd..6203b2a7790 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-09-24 Glenn Morris + + * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'. + 2012-09-23 Fabián Ezequiel Gallina * progmodes/python.el (python-indent-line): More consistent cursor diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index ca9bc6b8676..ad2167bd6f8 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -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 "