changeset 34870:6c2c536e15aa

(emacs-version): Print X scroll bar information.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 27 Dec 2000 14:34:09 +0000
parents 1d671133e618
children acde65877c5e
files lisp/version.el
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/version.el	Wed Dec 27 14:33:11 2000 +0000
+++ b/lisp/version.el	Wed Dec 27 14:34:09 2000 +0000
@@ -53,13 +53,18 @@
   (interactive "P")
   (let ((version-string 
          (format (if (not (interactive-p))
-		     "GNU Emacs %s (%s%s)\n of %s on %s"
-		   "GNU Emacs %s (%s%s) of %s on %s")
+		     "GNU Emacs %s (%s%s%s)\n of %s on %s"
+		   "GNU Emacs %s (%s%s%s) of %s on %s")
                  emacs-version
 		 system-configuration
 		 (cond ((featurep 'motif) ", Motif")
 		       ((featurep 'x-toolkit) ", X toolkit")
 		       (t ""))
+		 (if (and (boundp 'x-toolkit-scroll-bars)
+			  (memq x-toolkit-scroll-bars '(xaw xaw3d)))
+		     (format ", %s scroll bars"
+			     (capitalize (symbol-name x-toolkit-scroll-bars)))
+		   "")
 		 (format-time-string "%Y-%m-%d" emacs-build-time)
                  emacs-build-system)))
     (if here