[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 139874b 3/5: replace-match-maybe-edit doc clarifica
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 139874b 3/5: replace-match-maybe-edit doc clarification |
Date: |
Sat, 30 Apr 2016 18:33:03 +0000 |
branch: master
commit 139874ba53c2e2de9868f8e5234d6ea2bcb97af8
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
replace-match-maybe-edit doc clarification
* lisp/replace.el (replace-match-maybe-edit): Say what
MATCH-DATA is (bug#20304).
---
lisp/replace.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/replace.el b/lisp/replace.el
index 91e5db8..c44d1f0 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -2001,7 +2001,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.