Commit 49093f60 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

lisp/loadup.el: Use `string-to-number', not `string-to-int'.

parent cc39a9db
2011-04-15 Juanma Barranquero <lekktu@gmail.com>
* loadup.el: Use `string-to-number', not `string-to-int'.
2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca> 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/gud.el (gud-gdb): Use completion-at-point instead of * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
...@@ -8,11 +12,10 @@ ...@@ -8,11 +12,10 @@
2011-04-14 Michael Albinus <michael.albinus@gmx.de> 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
case when the scripts fail. Use `tramp-do-file-attributes-with-ls' when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
then. (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
(tramp-do-copy-or-rename-file-out-of-band): Do not check any whether `executable-find' is bound.
longer, whether`executable-find' is bound.
* net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring. * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
......
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
(let* ((base (concat "emacs-" emacs-version ".")) (let* ((base (concat "emacs-" emacs-version "."))
(files (file-name-all-completions base default-directory)) (files (file-name-all-completions base default-directory))
(versions (mapcar (function (lambda (name) (versions (mapcar (function (lambda (name)
(string-to-int (substring name (length base))))) (string-to-number (substring name (length base)))))
files))) files)))
;; `emacs-version' is a constant, so we shouldn't change it with `setq'. ;; `emacs-version' is a constant, so we shouldn't change it with `setq'.
(defconst emacs-version (defconst emacs-version
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment