summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-04-07 12:51:51 -0700
committerGlenn Morris <rgm@gnu.org>2012-04-07 12:51:51 -0700
commita1ed8b05eedc1bded036d1c35a867fbdc7a1eba2 (patch)
treeea491cfee820029fafd1162d50abc7a834674aed /lisp/mail
parente3fb2efb80ee8beebf7963228c4508496ebf24fa (diff)
downloademacs-a1ed8b05eedc1bded036d1c35a867fbdc7a1eba2.tar.gz
Add emacs-bzr-version
* lisp/version.el (emacs-bzr-get-version): New function. * lisp/loadup.el (emacs-bzr-version): Set it. * lisp/mail/emacsbug.el (report-emacs-bug): Include bzr version. * etc/NEWS: Mention this, though it is not really relevant to releases. Insert template for 24.2 release. Fixes: debbugs:8054
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/emacsbug.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 1a02ae7c519..33b73335a7d 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -239,6 +239,8 @@ usually do not have translators for other languages.\n\n")))
(add-text-properties (1+ user-point) (point) prompt-properties)
(insert "\n\nIn " (emacs-version) "\n")
+ (if (stringp emacs-bzr-version)
+ (insert "Bzr revision: " emacs-bzr-version "\n"))
(if (fboundp 'x-server-vendor)
(condition-case nil
;; This is used not only for X11 but also W32 and others.