summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/subr-x.el
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina <fgallina@gnu.org>2014-06-30 17:17:17 -0300
committerFabián Ezequiel Gallina <fgallina@gnu.org>2014-06-30 17:17:17 -0300
commit911ba4d91510738e6e97829372c235eb91fbdbfb (patch)
tree116fc96cb541484fcc62b68736122b8670af4232 /lisp/emacs-lisp/subr-x.el
parenta24225d513f2d42165c74b6bc456bed509dc7a10 (diff)
downloademacs-911ba4d91510738e6e97829372c235eb91fbdbfb.tar.gz
* lisp/emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
for `reverse'.
Diffstat (limited to 'lisp/emacs-lisp/subr-x.el')
-rw-r--r--lisp/emacs-lisp/subr-x.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el
index 932c9e7f6ef..76473b39a77 100644
--- a/lisp/emacs-lisp/subr-x.el
+++ b/lisp/emacs-lisp/subr-x.el
@@ -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."