[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117449: * lisp/emacs-lisp/subr-x.el (string-reverse
From: |
Fabián Ezequiel Gallina |
Subject: |
[Emacs-diffs] trunk r117449: * lisp/emacs-lisp/subr-x.el (string-reverse): Use `reverse'. |
Date: |
Mon, 30 Jun 2014 04:55:00 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117449
revision-id: address@hidden
parent: address@hidden
committer: Fabián Ezequiel Gallina <address@hidden>
branch nick: trunk
timestamp: Mon 2014-06-30 01:54:46 -0300
message:
* lisp/emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/emacs-lisp/subr-x.el
lispemacslispsubrx.e-20131220162210-eh2g3gvs6rzsm10k-1
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-06-30 04:11:43 +0000
+++ b/lisp/ChangeLog 2014-06-30 04:54:46 +0000
@@ -1,5 +1,9 @@
2014-06-30 Fabián Ezequiel Gallina <address@hidden>
+ * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
+
+2014-06-30 Fabián Ezequiel Gallina <address@hidden>
+
New if-let, when-let, thread-first and thread-last macros.
* emacs-lisp/subr-x.el
=== modified file 'lisp/emacs-lisp/subr-x.el'
--- a/lisp/emacs-lisp/subr-x.el 2014-06-30 04:11:43 +0000
+++ b/lisp/emacs-lisp/subr-x.el 2014-06-30 04:54:46 +0000
@@ -161,7 +161,7 @@
(defsubst string-reverse (str)
"Reverse the string STR."
- (apply 'string (nreverse (string-to-list str))))
+ (reverse str))
(defsubst string-trim-left (string)
"Remove leading whitespace from STRING."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117449: * lisp/emacs-lisp/subr-x.el (string-reverse): Use `reverse'.,
Fabián Ezequiel Gallina <=