diff options
| author | Fabián Ezequiel Gallina | 2014-06-30 17:17:17 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2014-06-30 17:17:17 -0300 |
| commit | 911ba4d91510738e6e97829372c235eb91fbdbfb (patch) | |
| tree | 116fc96cb541484fcc62b68736122b8670af4232 | |
| parent | a24225d513f2d42165c74b6bc456bed509dc7a10 (diff) | |
| download | emacs-911ba4d91510738e6e97829372c235eb91fbdbfb.tar.gz emacs-911ba4d91510738e6e97829372c235eb91fbdbfb.zip | |
* lisp/emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
for `reverse'.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/subr-x.el | 4 |
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 @@ | |||
| 1 | 2014-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 | |||
| 1 | 2014-06-30 Glenn Morris <rgm@gnu.org> | 6 | 2014-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." |