aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS29
1 files changed, 25 insertions, 4 deletions
diff --git a/etc/NEWS b/etc/NEWS
index db98dbb026f..930b9799a93 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -3598,10 +3598,30 @@ This splits a shell command string into separate components,
3598respecting quoting with single ('like this') and double ("like this") 3598respecting quoting with single ('like this') and double ("like this")
3599quotes, as well as backslash quoting (like\ this). 3599quotes, as well as backslash quoting (like\ this).
3600 3600
3601** New string manipulation functions added to subr-x.el. 3601+++
3602the functions are 'string-clean-whitespace', 'string-fill', 3602** New function 'string-clean-whitespace'.
3603'string-limit', 'string-lines', 'string-pad' and 3603This removed whitespace from a string
3604'string-chop-newline'. 3604
3605+++
3606** New function 'string-fill'.
3607Word-wrap a string so that no lines are longer that a specific length.
3608
3609+++
3610** New function 'string-limit'.
3611Return (up to) a specific substring length.
3612
3613+++
3614** New function 'string-lines'.
3615Return a list of strings representing the individual lines in a
3616string.
3617
3618+++
3619** New function 'string-pad'.
3620Pad a string to a specific length.
3621
3622+++
3623** New function 'string-chop-newline'.
3624Remove a trailing newline from a string.
3605 3625
3606+++ 3626+++
3607** New function 'replace-regexp-in-region'. 3627** New function 'replace-regexp-in-region'.
@@ -3646,6 +3666,7 @@ This is identical to 'ignore', but returns t instead.
3646This is identical to 'sxhash-equal' but also accounts for string 3666This is identical to 'sxhash-equal' but also accounts for string
3647properties. 3667properties.
3648 3668
3669---
3649** New function 'buffer-line-statistics'. 3670** New function 'buffer-line-statistics'.
3650This function returns some statistics about the line lengths in a buffer. 3671This function returns some statistics about the line lengths in a buffer.
3651 3672