summaryrefslogtreecommitdiff
path: root/lisp/loadup.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2011-04-15 05:15:22 +0200
committerJuanma Barranquero <lekktu@gmail.com>2011-04-15 05:15:22 +0200
commitedcf73c07cecdaa1986c834547aebf9230d4779d (patch)
treee1d0b8a85df52a691401a383c75e82626af6fbca /lisp/loadup.el
parent93837445dcac461b019cdaeaef8fa5b8ea032d36 (diff)
downloademacs-edcf73c07cecdaa1986c834547aebf9230d4779d.tar.gz
lisp/loadup.el: Use `string-to-number', not `string-to-int'.
Diffstat (limited to 'lisp/loadup.el')
-rw-r--r--lisp/loadup.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 8a11a6e3e06..d348456ae32 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -263,7 +263,7 @@
(let* ((base (concat "emacs-" emacs-version "."))
(files (file-name-all-completions base default-directory))
(versions (mapcar (function (lambda (name)
- (string-to-int (substring name (length base)))))
+ (string-to-number (substring name (length base)))))
files)))
;; `emacs-version' is a constant, so we shouldn't change it with `setq'.
(defconst emacs-version