lisp/loadup.el: Use `string-to-number', not `string-to-int'.
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 15 Apr 2011 03:15:22 +0000 (05:15 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 15 Apr 2011 03:15:22 +0000 (05:15 +0200)
lisp/ChangeLog
lisp/loadup.el

index 3449a0a..9b162f9 100644 (file)
@@ -1,3 +1,7 @@
+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>
 
        * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
 
 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
 
-       * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the
-       case when the scripts fail.  Use `tramp-do-file-attributes-with-ls'
-       then.
-       (tramp-do-copy-or-rename-file-out-of-band): Do not check any
-       longer, whether`executable-find' is bound.
+       * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
+       when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
+       (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
+       whether `executable-find' is bound.
 
        * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
 
index 8a11a6e..d348456 100644 (file)
     (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