From e055a12839b7b41f76f553dfaf13ca9202a5f5af Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 13 Feb 2018 07:49:30 +0200 Subject: [PATCH] NEWS update about 'string-trim' * etc/NEWS: Mention changes in string-trim family of functions. (Bug#30442) --- etc/NEWS | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.2