From db1ec5b6dfbd4acf342f730da85648de1276f006 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 16 Apr 2013 20:49:18 +0300 Subject: [PATCH] Fixed loadup.el bug in finding the last build number on Unix. --- lisp/loadup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2