mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
lisp/loadup.el: Use string-to-number', not string-to-int'.
This commit is contained in:
parent
cc39a9dba6
commit
49093f601b
2 changed files with 9 additions and 6 deletions
|
|
@ -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
|
||||
|
|
@ -8,11 +12,10 @@
|
|||
|
||||
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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue