diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-04-15 05:15:22 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-04-15 05:15:22 +0200 |
commit | edcf73c07cecdaa1986c834547aebf9230d4779d (patch) | |
tree | e1d0b8a85df52a691401a383c75e82626af6fbca /lisp/loadup.el | |
parent | 93837445dcac461b019cdaeaef8fa5b8ea032d36 (diff) | |
download | emacs-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.el | 2 |
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 |