emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r103918: lisp/loadup.el: Use `string-


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103918: lisp/loadup.el: Use `string-to-number', not `string-to-int'.
Date: Fri, 15 Apr 2011 05:15:22 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 103918
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Fri 2011-04-15 05:15:22 +0200
message:
  lisp/loadup.el: Use `string-to-number', not `string-to-int'.
modified:
  lisp/ChangeLog
  lisp/loadup.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-04-15 01:44:00 +0000
+++ b/lisp/ChangeLog    2011-04-15 03:15:22 +0000
@@ -1,3 +1,7 @@
+2011-04-15  Juanma Barranquero  <address@hidden>
+
+       * loadup.el: Use `string-to-number', not `string-to-int'.
+
 2011-04-15  Stefan Monnier  <address@hidden>
 
        * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
@@ -8,11 +12,10 @@
 
 2011-04-14  Michael Albinus  <address@hidden>
 
-       * 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.
 

=== modified file 'lisp/loadup.el'
--- a/lisp/loadup.el    2011-03-31 15:17:06 +0000
+++ b/lisp/loadup.el    2011-04-15 03:15:22 +0000
@@ -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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]