emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing the Emacs executable


From: Andreas Schwab
Subject: Re: Installing the Emacs executable
Date: Fri, 19 Apr 2013 20:29:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Glenn Morris <address@hidden> writes:

> Andreas Schwab wrote:
>
>> Eli Zaretskii <address@hidden> writes:
>>
>>> Is this done on purpose?  Why isn't the binary named the same as its
>>> DOC, i.e. emacs-24.3.50.nn?
>>
>> I'd rather see the build number removed at all.
>
> I agree with you (IIUC what you are saying); I've never found it useful.
> (IIRC rms is/was a fan of it.)

Like this:

        * loadup.el: Don't append build number to emacs-version.
---
 lisp/loadup.el | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/lisp/loadup.el b/lisp/loadup.el
index 00c5234..097dd02 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -284,24 +284,6 @@
 ;For other systems, you must edit ../src/Makefile.in.
 (load "site-load" t)
 
-;; Determine which last version number to use
-;; based on the executables that now exist.
-(if (and (or (equal (nth 3 command-line-args) "dump")
-            (equal (nth 4 command-line-args) "dump"))
-        (not (eq system-type 'ms-dos)))
-    (let* ((base (concat "emacs-" emacs-version "."))
-          (files (file-name-all-completions base default-directory))
-          (versions (mapcar (function (lambda (name)
-                                        (string-to-number (substring name 
(length base)))))
-                            files)))
-      (setq emacs-bzr-version (condition-case nil (emacs-bzr-get-version)
-                              (error nil)))
-      ;; `emacs-version' is a constant, so we shouldn't change it with `setq'.
-      (defconst emacs-version
-       (format "%s.%d"
-               emacs-version (if versions (1+ (apply 'max versions)) 1)))))
-
-
 (message "Finding pointers to doc strings...")
 (if (or (equal (nth 3 command-line-args) "dump")
        (equal (nth 4 command-line-args) "dump"))
-- 
1.8.2.1


Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]