diff options
| author | Eli Zaretskii | 2012-04-20 08:57:38 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-04-20 08:57:38 +0300 |
| commit | 6cf2a23e297b8a57a70c2a1dab5aa28b73461b0b (patch) | |
| tree | 9f480b8778c95c23628a69d5a70b25cc5068158a | |
| parent | 539aa513944b1e780a7981f63a0cdf8d86f2303c (diff) | |
| download | emacs-6cf2a23e297b8a57a70c2a1dab5aa28b73461b0b.tar.gz emacs-6cf2a23e297b8a57a70c2a1dab5aa28b73461b0b.zip | |
Put the '$Id:' tag into MS-Windows executable of Emacs.
lisp/version.el (top level): Put into the executable the ident-style
'$Id:' tag on windows-nt as well.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/version.el | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5529db59a0c..42f99ec9c9e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | 2012-04-20 Eli Zaretskii <eliz@gnu.org> | 1 | 2012-04-20 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes. | 3 | * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes. |
| 4 | (top level): Put into the executable the ident-style '$Id:' tag on | ||
| 5 | windows-nt as well. | ||
| 4 | 6 | ||
| 5 | 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6 | 8 | ||
diff --git a/lisp/version.el b/lisp/version.el index 38be0e7fd57..d7fb05ea465 100644 --- a/lisp/version.el +++ b/lisp/version.el | |||
| @@ -118,9 +118,8 @@ Optional argument DIR is a directory to use instead of `source-directory'." | |||
| 118 | )))) | 118 | )))) |
| 119 | 119 | ||
| 120 | ;; We put version info into the executable in the form that `ident' uses. | 120 | ;; We put version info into the executable in the form that `ident' uses. |
| 121 | (or (eq system-type 'windows-nt) | 121 | (purecopy (concat "\n$Id: " (subst-char-in-string ?\n ?\s (emacs-version)) |
| 122 | (purecopy (concat "\n$Id: " (subst-char-in-string ?\n ?\s (emacs-version)) | 122 | " $\n")) |
| 123 | " $\n"))) | ||
| 124 | 123 | ||
| 125 | ;; Local Variables: | 124 | ;; Local Variables: |
| 126 | ;; version-control: never | 125 | ;; version-control: never |