emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r117455: * lisp/emacs-lisp/subr-x.el (string-reverse


From: Fabián Ezequiel Gallina
Subject: [Emacs-diffs] trunk r117455: * lisp/emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
Date: Mon, 30 Jun 2014 20:17:43 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117455
revision-id: address@hidden
parent: address@hidden
committer: Fabián Ezequiel Gallina <address@hidden>
branch nick: trunk
timestamp: Mon 2014-06-30 17:17:17 -0300
message:
  * lisp/emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
  for `reverse'.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/emacs-lisp/subr-x.el      
lispemacslispsubrx.e-20131220162210-eh2g3gvs6rzsm10k-1
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-06-30 18:26:34 +0000
+++ b/lisp/ChangeLog    2014-06-30 20:17:17 +0000
@@ -1,3 +1,8 @@
+2014-06-30  Fabián Ezequiel Gallina  <address@hidden>
+
+       * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
+       for `reverse'.
+
 2014-06-30  Glenn Morris  <address@hidden>
 
        * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.

=== modified file 'lisp/emacs-lisp/subr-x.el'
--- a/lisp/emacs-lisp/subr-x.el 2014-06-30 04:54:46 +0000
+++ b/lisp/emacs-lisp/subr-x.el 2014-06-30 20:17:17 +0000
@@ -159,9 +159,7 @@
   "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."


reply via email to

[Prev in Thread] Current Thread [Next in Thread]