From bcc0adbf3cf3976daf5686a73a1bbd8562027a2a Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 23 Sep 2012 17:46:47 -0700 Subject: [PATCH] * lisp/mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'. --- lisp/ChangeLog | 4 ++++ lisp/mail/emacsbug.el | 7 +++++++ 2 files changed, 11 insertions(+) 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 " -- 2.39.2