From: Eli Zaretskii Date: Tue, 16 Apr 2013 17:49:18 +0000 (+0300) Subject: Fixed loadup.el bug in finding the last build number on Unix. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~229^2~63^2~32 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=db1ec5b6dfbd4acf342f730da85648de1276f006;p=emacs.git Fixed loadup.el bug in finding the last build number on Unix. --- diff --git a/lisp/loadup.el b/lisp/loadup.el index 75659d88ac4..7509689e2b7 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -290,7 +290,7 @@ (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)