* lisp/emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias

for `reverse'.
This commit is contained in:
Fabián Ezequiel Gallina 2014-06-30 17:17:17 -03:00
parent a24225d513
commit 911ba4d915
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
* emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
for `reverse'.
2014-06-30 Glenn Morris <rgm@gnu.org>
* emacs-lisp/autoload.el (autoload-ensure-writable): New variable.

View file

@ -159,9 +159,7 @@ to bind a single value, BINDINGS can just be a plain tuple."
"Join all STRINGS using SEPARATOR."
(mapconcat 'identity strings separator))
(defsubst string-reverse (str)
"Reverse the string STR."
(reverse str))
(define-obsolete-function-alias 'string-reverse 'reverse "24.5")
(defsubst string-trim-left (string)
"Remove leading whitespace from STRING."