changeset 37065:9a4674999109

(report-emacs-bug): Report LC_COLLATE, LC_MESSAGES, LC_MONETARY, LC_NUMERIC, and LC_TIME as well. From Paul Eggert.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 29 Mar 2001 15:29:29 +0000
parents 428092eb22d4
children 83f78ecd591e
files lisp/mail/emacsbug.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/emacsbug.el	Thu Mar 29 15:23:40 2001 +0000
+++ b/lisp/mail/emacsbug.el	Thu Mar 29 15:29:29 2001 +0000
@@ -120,9 +120,11 @@
 	(insert "configured using `configure "
 		system-configuration-options "'\n"))
     (insert "Important settings:\n")
-    (insert (format "  value of $LC_ALL: %s\n" (getenv "LC_ALL")))
-    (insert (format "  value of $LC_CTYPE: %s\n" (getenv "LC_CTYPE")))
-    (insert (format "  value of $LANG: %s\n" (getenv "LANG")))
+    (mapcar
+     '(lambda (var)
+	(insert (format "  value of $%s: %s\n" var (getenv var))))
+     '("LC_ALL" "LC_COLLATE" "LC_CTYPE" "LC_MESSAGES"
+       "LC_MONETARY" "LC_NUMERIC" "LC_TIME" "LANG"))
     (insert (format "  locale-coding-system: %s\n" locale-coding-system))
     (insert (format "  default-enable-multibyte-characters: %s\n"
 		    default-enable-multibyte-characters))