summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/subr-x.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 56e53ee673c..cbf8329d583 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
+ * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
+
+2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
+
New if-let, when-let, thread-first and thread-last macros.
* emacs-lisp/subr-x.el
diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el
index 60cd7b8995b..932c9e7f6ef 100644
--- a/lisp/emacs-lisp/subr-x.el
+++ b/lisp/emacs-lisp/subr-x.el
@@ -161,7 +161,7 @@ to bind a single value, BINDINGS can just be a plain tuple."
(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."