aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/lispref/searching.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index b4fec6d1fd6..592b876644c 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}.
2567@end defun 2567@end defun
2568 2568
2569@defun string-replace fromstring tostring instring 2569@defun string-replace fromstring tostring instring
2570This function returns a string equal to @var{instring} where any 2570This function replaces all occurrences of @var{fromstring} with
2571occurrences of @var{fromstring} have been replaced with 2571@var{tostring} in @var{instring} and returns the result. It may
2572@var{tostring}. It may return one of its arguments. 2572return one of its arguments unchanged, a constant string or a new
2573Case is significant, and text properties are ignored. 2573string. Case is significant, and text properties are ignored.
2574@end defun 2574@end defun
2575 2575
2576 If you want to write a command along the lines of @code{query-replace}, 2576 If you want to write a command along the lines of @code{query-replace},