Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
49093f60
Commit
49093f60
authored
Apr 15, 2011
by
Juanma Barranquero
Browse files
lisp/loadup.el: Use `string-to-number', not `string-to-int'.
parent
cc39a9db
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
lisp/ChangeLog
lisp/ChangeLog
+8
-5
lisp/loadup.el
lisp/loadup.el
+1
-1
No files found.
lisp/ChangeLog
View file @
49093f60
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.
...
...
lisp/loadup.el
View file @
49093f60
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment