]> git.eshelyaron.com Git - emacs.git/commitdiff
NEWS update about 'string-trim'
authorEli Zaretskii <eliz@gnu.org>
Tue, 13 Feb 2018 05:49:30 +0000 (07:49 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 13 Feb 2018 05:49:30 +0000 (07:49 +0200)
* etc/NEWS: Mention changes in string-trim family of functions.
(Bug#30442)

etc/NEWS

index 00ff9cda8efbb146cfeb414e835cec8ad17d1225..a8880d0f323a40a87ea74cfd07bfe32f422f6abf 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1714,7 +1714,13 @@ t for all Emacs integers N.
 ---
 ** Calls that accept floating-point integers (for use on hosts with
 limited integer range) now signal an error if arguments are not
-integral.  For example '(decode-char 'ascii 0.5)' now signals an error.
+integral.  For example '(decode-char 'ascii 0.5)' now signals an
+error.
+
+---
+** Functions 'string-trim-left', 'string-trim-right' and 'string-trim'
+now accept optional arguments which specify the regexp of a substring
+to trim.
 
 +++
 ** The new function 'char-from-name' converts a Unicode name string