summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-02-13 07:49:30 +0200
committerEli Zaretskii <eliz@gnu.org>2018-02-13 07:49:30 +0200
commite055a12839b7b41f76f553dfaf13ca9202a5f5af (patch)
treeb08a6573013985049b539dbe43394700edca7743 /etc
parent96b6e243ec006b6c69642506a4f470aa5878e299 (diff)
downloademacs-e055a12839b7b41f76f553dfaf13ca9202a5f5af.tar.gz
NEWS update about 'string-trim'
* etc/NEWS: Mention changes in string-trim family of functions. (Bug#30442)
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS8
1 files changed, 7 insertions, 1 deletions
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