* lisp/emacs-lisp/subr-x.el (string-reverse): Use `reverse'.

This commit is contained in:
Fabián Ezequiel Gallina 2014-06-30 01:54:46 -03:00
parent c08f8be29f
commit de12301ea1
2 changed files with 5 additions and 1 deletions

View file

@ -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."