From: Eli Zaretskii <eliz@gnu.org>
Date: Tue, 13 Feb 2018 05:49:30 +0000 (+0200)
Subject: NEWS update about 'string-trim'
X-Git-Tag: emacs-26.1-rc1~223
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e055a12839b7b41f76f553dfaf13ca9202a5f5af;p=emacs.git

NEWS update about 'string-trim'

* etc/NEWS: Mention changes in string-trim family of functions.
(Bug#30442)
---

diff --git a/etc/NEWS b/etc/NEWS
index 00ff9cda8ef..a8880d0f323 100644
--- 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