emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f679bcb 1/2: ; * doc/lispref/searching.texi (Search and Replace):


From: Mattias Engdegård
Subject: master f679bcb 1/2: ; * doc/lispref/searching.texi (Search and Replace): Rephrase
Date: Mon, 28 Sep 2020 06:46:27 -0400 (EDT)

branch: master
commit f679bcbb39ae26adcfb7e62794fcc03595b7436d
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    ; * doc/lispref/searching.texi (Search and Replace): Rephrase
---
 doc/lispref/searching.texi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index b4fec6d..592b876 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -2567,10 +2567,10 @@ of matching @var{regexp} against a substring of 
@var{string}.
 @end defun
 
 @defun string-replace fromstring tostring instring
-This function returns a string equal to @var{instring} where any
-occurrences of @var{fromstring} have been replaced with
-@var{tostring}.  It may return one of its arguments.
-Case is significant, and text properties are ignored.
+This function replaces all occurrences of @var{fromstring} with
+@var{tostring} in @var{instring} and returns the result.  It may
+return one of its arguments unchanged, a constant string or a new
+string.  Case is significant, and text properties are ignored.
 @end defun
 
   If you want to write a command along the lines of @code{query-replace},



reply via email to

[Prev in Thread] Current Thread [Next in Thread]