summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/version.el4
-rw-r--r--src/emacs.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/lisp/version.el b/lisp/version.el
index 24da21c731c..b247232dcfd 100644
--- a/lisp/version.el
+++ b/lisp/version.el
@@ -163,8 +163,4 @@ correspond to the running Emacs.
Optional argument DIR is a directory to use instead of `source-directory'."
(emacs-repository-branch-git (or dir source-directory)))
-;; We put version info into the executable in the form that `ident' uses.
-(purecopy (concat "\n$Id: " (subst-char-in-string ?\n ?\s (emacs-version))
- " $\n"))
-
;;; version.el ends here
diff --git a/src/emacs.c b/src/emacs.c
index ea9c4cd79dc..49793fd1e86 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -124,6 +124,11 @@ static const char emacs_version[] = PACKAGE_VERSION;
static const char emacs_copyright[] = COPYRIGHT;
static const char emacs_bugreport[] = PACKAGE_BUGREPORT;
+/* Put version info into the executable in the form that 'ident' uses. */
+char const EXTERNALLY_VISIBLE RCS_Id[]
+ = "$Id" ": GNU Emacs " PACKAGE_VERSION
+ " (" EMACS_CONFIGURATION " " EMACS_CONFIG_FEATURES ") $";
+
/* Empty lisp strings. To avoid having to build any others. */
Lisp_Object empty_unibyte_string, empty_multibyte_string;