]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/version.el (emacs-version): No longer include build host
authorGlenn Morris <rgm@gnu.org>
Mon, 24 Aug 2015 07:27:53 +0000 (00:27 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 24 Aug 2015 07:27:53 +0000 (00:27 -0700)
* doc/lispref/intro.texi (Version Info): Update example.

doc/lispref/intro.texi
lisp/version.el

index 14bdbdbcd3665a6d9eb5797f46af92c5121355c9..0db464ebd2e8b6c64c1b7edb2c24c1333e991232 100644 (file)
@@ -480,8 +480,8 @@ running.  It is useful to include this string in bug reports.
 @smallexample
 @group
 (emacs-version)
-  @result{} "GNU Emacs 23.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
-             of 2009-06-01 on cyd.mit.edu"
+  @result{} "GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.4)
+             of 2015-06-01"
 @end group
 @end smallexample
 
index c0b975ed31ba381844b0404b1d91c64d6733b517..43103fde13119d4fe2092950c6118051c93c6461 100644 (file)
@@ -41,6 +41,8 @@ This variable first existed in version 19.23.")
 (defconst emacs-build-time (current-time)
   "Time at which Emacs was dumped out.")
 
+;; I think this should be obsoleted/removed.  It's just one more meaningless
+;; difference between different builds.  It's usually not even an fqdn.
 (defconst emacs-build-system (system-name)
   "Name of the system on which Emacs was built.")
 
@@ -57,8 +59,8 @@ to the system configuration; look at `system-configuration' instead."
   (interactive "P")
   (let ((version-string
          (format (if (not (called-interactively-p 'interactive))
-                    "GNU Emacs %s (%s%s%s%s)\n of %s on %s"
-                  "GNU Emacs %s (%s%s%s%s) of %s on %s")
+                    "GNU Emacs %s (%s%s%s%s)\n of %s"
+                  "GNU Emacs %s (%s%s%s%s) of %s")
                  emacs-version
                 system-configuration
                 (cond ((featurep 'motif)
@@ -77,8 +79,7 @@ to the system configuration; look at `system-configuration' instead."
                     (format ", %s scroll bars"
                             (capitalize (symbol-name x-toolkit-scroll-bars)))
                   "")
-                (format-time-string "%Y-%m-%d" emacs-build-time)
-                 emacs-build-system)))
+                (format-time-string "%Y-%m-%d" emacs-build-time))))
     (if here
         (insert version-string)
       (if (called-interactively-p 'interactive)