summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-08-16 13:20:35 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-08-16 13:20:35 +0200
commit751f1707f009c714dbfe047ef43443a5c0c3df89 (patch)
treeaf4841befe93c09b6e28851fa5c20e57be9abbc5 /etc
parent42be41657813ae606427aa53d2f0f0b7039d3ef1 (diff)
downloademacs-751f1707f009c714dbfe047ef43443a5c0c3df89.tar.gz
Add new functions to replace strings/regexp in a region
* doc/lispref/searching.texi (Search and Replace): Document them. * lisp/subr.el (replace-string-in-region) (replace-regexp-in-region): New functions. * lisp/emacs-lisp/shortdoc.el (regexp, buffer): Mention them.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index c2b53e47050..54168e82660 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2443,6 +2443,12 @@ images are marked.
** Miscellaneous
++++
+*** New function 'replace-regexp-in-region'.
+
++++
+*** New function 'replace-string-in-region'.
+
---
*** New function 'mail-header-parse-addresses-lax'.
This takes a comma-separated string and returns a list of mail/name