summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-12-28 18:43:09 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-12-28 18:43:43 -0800
commit3f09548ecb183964bbbb7d8438abd8813983dbb1 (patch)
treebb771384153cb22fb6e057399c0aec8e5e701c4d
parent11fe8e485e313c2f800f16693993946f56e38f33 (diff)
downloademacs-3f09548ecb183964bbbb7d8438abd8813983dbb1.tar.gz
Port report-emacs-bug to deterministic builds
* lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the recent "built on" change to deterministic builds where emacs-build-system will be nil. See: http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
-rw-r--r--lisp/mail/emacsbug.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index ae0e711d814..ef5e86a6c8b 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -242,7 +242,11 @@ usually do not have translators for other languages.\n\n")))
(let ((txt (delete-and-extract-region (1+ user-point) (point))))
(insert (propertize "\n" 'display txt)))
- (insert "\n\nIn " (emacs-version) " built on " emacs-build-system "\n")
+ (insert "\n\nIn " (emacs-version))
+ (if emacs-build-system
+ (insert " built on " emacs-build-system))
+ (insert "\n")
+
(if (stringp emacs-repository-version)
(insert "Repository revision: " emacs-repository-version "\n"))
(if (fboundp 'x-server-vendor)