diff options
| -rw-r--r-- | lisp/subr.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 062c9f95d44..91176e9e805 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -3731,7 +3731,8 @@ REP is either a string used as the NEWTEXT arg of `replace-match' or a | |||
| 3731 | function. If it is a function, it is called with the actual text of each | 3731 | function. If it is a function, it is called with the actual text of each |
| 3732 | match, and its value is used as the replacement text. When REP is called, | 3732 | match, and its value is used as the replacement text. When REP is called, |
| 3733 | the match data are the result of matching REGEXP against a substring | 3733 | the match data are the result of matching REGEXP against a substring |
| 3734 | of STRING. | 3734 | of STRING, the same substring that is the actual text of the match which |
| 3735 | is passed to REP as its argument. | ||
| 3735 | 3736 | ||
| 3736 | To replace only the first match (if any), make REGEXP match up to \\' | 3737 | To replace only the first match (if any), make REGEXP match up to \\' |
| 3737 | and replace a sub-expression, e.g. | 3738 | and replace a sub-expression, e.g. |