Commit 447bdcb8 authored by Bozhidar Batsov's avatar Bozhidar Batsov
Browse files

* lisp/emacs-lisp/helpers.el (string-reverse): New function.

parent 5fbf6856
......@@ -788,6 +788,7 @@ frame.
*** `hash-table-keys'
*** `hash-table-values'
*** `string-join`
*** `string-reverse`
*** `string-trim-left'
*** `string-trim-right'
*** `string-trim'
......
2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
* emacs-lisp/helpers.el (string-reverse): New function.
2013-11-26 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
......
......@@ -41,6 +41,10 @@
"Join all STRINGS using SEPARATOR."
(mapconcat 'identity strings separator))
(defsubst string-reverse (str)
"Reverse the string STR."
(apply 'string (nreverse (string-to-list str))))
(defsubst string-trim-left (string)
"Remove leading whitespace from STRING."
(if (string-match "\\`[ \t\n\r]+" string)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment