aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina2014-06-30 17:17:17 -0300
committerFabián Ezequiel Gallina2014-06-30 17:17:17 -0300
commit911ba4d91510738e6e97829372c235eb91fbdbfb (patch)
tree116fc96cb541484fcc62b68736122b8670af4232
parenta24225d513f2d42165c74b6bc456bed509dc7a10 (diff)
downloademacs-911ba4d91510738e6e97829372c235eb91fbdbfb.tar.gz
emacs-911ba4d91510738e6e97829372c235eb91fbdbfb.zip
* lisp/emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
for `reverse'.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/subr-x.el4
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 877560e5f62..0b90c3c98ad 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
2
3 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
4 for `reverse'.
5
12014-06-30 Glenn Morris <rgm@gnu.org> 62014-06-30 Glenn Morris <rgm@gnu.org>
2 7
3 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable. 8 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
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."
159 "Join all STRINGS using SEPARATOR." 159 "Join all STRINGS using SEPARATOR."
160 (mapconcat 'identity strings separator)) 160 (mapconcat 'identity strings separator))
161 161
162(defsubst string-reverse (str) 162(define-obsolete-function-alias 'string-reverse 'reverse "24.5")
163 "Reverse the string STR."
164 (reverse str))
165 163
166(defsubst string-trim-left (string) 164(defsubst string-trim-left (string)
167 "Remove leading whitespace from STRING." 165 "Remove leading whitespace from STRING."