diff options
| -rw-r--r-- | doc/lispref/searching.texi | 8 |
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 |
| 2570 | This function returns a string equal to @var{instring} where any | 2570 | This function replaces all occurrences of @var{fromstring} with |
| 2571 | occurrences 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. | 2572 | return one of its arguments unchanged, a constant string or a new |
| 2573 | Case is significant, and text properties are ignored. | 2573 | string. 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}, |