diff options
| author | Glenn Morris | 2015-08-24 00:27:53 -0700 |
|---|---|---|
| committer | Glenn Morris | 2015-08-24 00:27:53 -0700 |
| commit | 5a133ba0785b756a3f479ec8acf95ca3f2b48c92 (patch) | |
| tree | 27cf1c37fe6e7ac4453f8c4c84e51b1a97109b12 | |
| parent | a19b8550f3db9a0984e940260a5132275daf29ea (diff) | |
| download | emacs-5a133ba0785b756a3f479ec8acf95ca3f2b48c92.tar.gz emacs-5a133ba0785b756a3f479ec8acf95ca3f2b48c92.zip | |
* lisp/version.el (emacs-version): No longer include build host
* doc/lispref/intro.texi (Version Info): Update example.
| -rw-r--r-- | doc/lispref/intro.texi | 4 | ||||
| -rw-r--r-- | lisp/version.el | 9 |
2 files changed, 7 insertions, 6 deletions
diff --git a/doc/lispref/intro.texi b/doc/lispref/intro.texi index 14bdbdbcd36..0db464ebd2e 100644 --- a/doc/lispref/intro.texi +++ b/doc/lispref/intro.texi | |||
| @@ -480,8 +480,8 @@ running. It is useful to include this string in bug reports. | |||
| 480 | @smallexample | 480 | @smallexample |
| 481 | @group | 481 | @group |
| 482 | (emacs-version) | 482 | (emacs-version) |
| 483 | @result{} "GNU Emacs 23.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) | 483 | @result{} "GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.4) |
| 484 | of 2009-06-01 on cyd.mit.edu" | 484 | of 2015-06-01" |
| 485 | @end group | 485 | @end group |
| 486 | @end smallexample | 486 | @end smallexample |
| 487 | 487 | ||
diff --git a/lisp/version.el b/lisp/version.el index c0b975ed31b..43103fde131 100644 --- a/lisp/version.el +++ b/lisp/version.el | |||
| @@ -41,6 +41,8 @@ This variable first existed in version 19.23.") | |||
| 41 | (defconst emacs-build-time (current-time) | 41 | (defconst emacs-build-time (current-time) |
| 42 | "Time at which Emacs was dumped out.") | 42 | "Time at which Emacs was dumped out.") |
| 43 | 43 | ||
| 44 | ;; I think this should be obsoleted/removed. It's just one more meaningless | ||
| 45 | ;; difference between different builds. It's usually not even an fqdn. | ||
| 44 | (defconst emacs-build-system (system-name) | 46 | (defconst emacs-build-system (system-name) |
| 45 | "Name of the system on which Emacs was built.") | 47 | "Name of the system on which Emacs was built.") |
| 46 | 48 | ||
| @@ -57,8 +59,8 @@ to the system configuration; look at `system-configuration' instead." | |||
| 57 | (interactive "P") | 59 | (interactive "P") |
| 58 | (let ((version-string | 60 | (let ((version-string |
| 59 | (format (if (not (called-interactively-p 'interactive)) | 61 | (format (if (not (called-interactively-p 'interactive)) |
| 60 | "GNU Emacs %s (%s%s%s%s)\n of %s on %s" | 62 | "GNU Emacs %s (%s%s%s%s)\n of %s" |
| 61 | "GNU Emacs %s (%s%s%s%s) of %s on %s") | 63 | "GNU Emacs %s (%s%s%s%s) of %s") |
| 62 | emacs-version | 64 | emacs-version |
| 63 | system-configuration | 65 | system-configuration |
| 64 | (cond ((featurep 'motif) | 66 | (cond ((featurep 'motif) |
| @@ -77,8 +79,7 @@ to the system configuration; look at `system-configuration' instead." | |||
| 77 | (format ", %s scroll bars" | 79 | (format ", %s scroll bars" |
| 78 | (capitalize (symbol-name x-toolkit-scroll-bars))) | 80 | (capitalize (symbol-name x-toolkit-scroll-bars))) |
| 79 | "") | 81 | "") |
| 80 | (format-time-string "%Y-%m-%d" emacs-build-time) | 82 | (format-time-string "%Y-%m-%d" emacs-build-time)))) |
| 81 | emacs-build-system))) | ||
| 82 | (if here | 83 | (if here |
| 83 | (insert version-string) | 84 | (insert version-string) |
| 84 | (if (called-interactively-p 'interactive) | 85 | (if (called-interactively-p 'interactive) |