]> git.eshelyaron.com Git - emacs.git/commitdiff
Fixed loadup.el bug in finding the last build number on Unix.
authorEli Zaretskii <eliz@gnu.org>
Tue, 16 Apr 2013 17:49:18 +0000 (20:49 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 16 Apr 2013 17:49:18 +0000 (20:49 +0300)
lisp/loadup.el

index 75659d88ac4bd77e7a6814dabc88336e8f422043..7509689e2b7cc805dba4dbe9e5a8124495bcb406 100644 (file)
             (equal (nth 4 command-line-args) "dump"))
         (not (eq system-type 'ms-dos)))
     (let* ((base (concat "emacs-" emacs-version "."))
-          (exelen (if (eq system-type 'windows-nt) -4 0))
+          (exelen (if (eq system-type 'windows-nt) -4))
           (files (file-name-all-completions base default-directory))
           (versions (mapcar (function
                              (lambda (name)