diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-04-30 20:21:11 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-05-01 19:27:14 +0200 |
commit | 983ad8d7da9685f5c718b417d4c11868c20c38c8 (patch) | |
tree | b4b5d1f3bb6b5f31c0bf41a483862de518ef92af /lisp/replace.el | |
parent | bbda22c6406ca6647626ea210292c7a279c80810 (diff) | |
download | emacs-983ad8d7da9685f5c718b417d4c11868c20c38c8.tar.gz |
replace-match-maybe-edit doc clarification
* lisp/replace.el (replace-match-maybe-edit): Say what
MATCH-DATA is (bug#20304).
(cherry picked from commit 139874ba53c2e2de9868f8e5234d6ea2bcb97af8)
Diffstat (limited to 'lisp/replace.el')
-rw-r--r-- | lisp/replace.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index a2344d9f7e7..da2b8c6e9b2 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -1997,7 +1997,9 @@ but coerced to the correct value of INTEGERS." FIXEDCASE, LITERAL are passed to `replace-match' (which see). After possibly editing it (if `\\?' is present), NEWTEXT is also passed to `replace-match'. If NOEDIT is true, no check for `\\?' -is made (to save time). MATCH-DATA is used for the replacement. +is made (to save time). +MATCH-DATA is used for the replacement, and is a data structure +as returned from the `match-data' function. In case editing is done, it is changed to use markers. BACKWARD is used to reverse the replacement direction. |