aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/subr.el3
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
3731function. If it is a function, it is called with the actual text of each 3731function. If it is a function, it is called with the actual text of each
3732match, and its value is used as the replacement text. When REP is called, 3732match, and its value is used as the replacement text. When REP is called,
3733the match data are the result of matching REGEXP against a substring 3733the match data are the result of matching REGEXP against a substring
3734of STRING. 3734of STRING, the same substring that is the actual text of the match which
3735is passed to REP as its argument.
3735 3736
3736To replace only the first match (if any), make REGEXP match up to \\' 3737To replace only the first match (if any), make REGEXP match up to \\'
3737and replace a sub-expression, e.g. 3738and replace a sub-expression, e.g.