* lisp/emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
This commit is contained in:
parent
c08f8be29f
commit
de12301ea1
2 changed files with 5 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue