aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2004-11-23 19:22:43 +0000
committerJan Djärv2004-11-23 19:22:43 +0000
commit6f8a2742299b9c3518f87ad2baebfa19867997cc (patch)
tree0cee354543c24747b1acfd4ebb1904bf81a0fd05
parent5f11b513c88a68b27da0eeaac216bce980ec7a67 (diff)
downloademacs-6f8a2742299b9c3518f87ad2baebfa19867997cc.tar.gz
emacs-6f8a2742299b9c3518f87ad2baebfa19867997cc.zip
* mail/emacsbug.el (report-emacs-bug): Catch error that x-server-vendor
and x-server-version may throw.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/mail/emacsbug.el6
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e4708bedc53..532c066e289 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12004-11-23 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * mail/emacsbug.el (report-emacs-bug): Catch error that x-server-vendor
4 and x-server-version may throw.
5
12004-11-23 Kim F. Storm <storm@cua.dk> 62004-11-23 Kim F. Storm <storm@cua.dk>
2 7
3 * subr.el (substitute-key-definition-key): Optimize. Don't 8 * subr.el (substitute-key-definition-key): Optimize. Don't
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")
129 129
130 (insert "In " (emacs-version) "\n") 130 (insert "In " (emacs-version) "\n")
131 (if (fboundp 'x-server-vendor) 131 (if (fboundp 'x-server-vendor)
132 (insert "Distributor `" (x-server-vendor) "', version " 132 (condition-case nil
133 (mapconcat 'number-to-string (x-server-version) ".") "\n")) 133 (insert "Distributor `" (x-server-vendor) "', version "
134 (mapconcat 'number-to-string (x-server-version) ".") "\n")
135 (error t)))
134 (if (and system-configuration-options 136 (if (and system-configuration-options
135 (not (equal system-configuration-options ""))) 137 (not (equal system-configuration-options "")))
136 (insert "configured using `configure " 138 (insert "configured using `configure "