summaryrefslogtreecommitdiff
path: root/lisp/mail/emacsbug.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mail/emacsbug.el')
-rw-r--r--lisp/mail/emacsbug.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index c5579b3c0db..5daa9a2d4aa 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -129,8 +129,10 @@ usually do not have translators to read other languages for them.\n\n")
(insert "In " (emacs-version) "\n")
(if (fboundp 'x-server-vendor)
- (insert "Distributor `" (x-server-vendor) "', version "
- (mapconcat 'number-to-string (x-server-version) ".") "\n"))
+ (condition-case nil
+ (insert "Distributor `" (x-server-vendor) "', version "
+ (mapconcat 'number-to-string (x-server-version) ".") "\n")
+ (error t)))
(if (and system-configuration-options
(not (equal system-configuration-options "")))
(insert "configured using `configure "