diff options
author | David Kastrup <dak@gnu.org> | 2004-07-01 23:54:21 +0000 |
---|---|---|
committer | David Kastrup <dak@gnu.org> | 2004-07-01 23:54:21 +0000 |
commit | 7a58d84d0a045bc98951fc4c143701da63397d06 (patch) | |
tree | 9ff2e0ab7b73d0522effe1b73ef317b33c596426 /lispref/searching.texi | |
parent | cfceee1ed381ded22ebbb102afe70f315e189c1d (diff) | |
download | emacs-7a58d84d0a045bc98951fc4c143701da63397d06.tar.gz |
(Entire Match Data): Add explanation about new
match-data behavior when @var{integers} is non-nil.
Diffstat (limited to 'lispref/searching.texi')
-rw-r--r-- | lispref/searching.texi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lispref/searching.texi b/lispref/searching.texi index d18587ccecb..4a2703fd640 100644 --- a/lispref/searching.texi +++ b/lispref/searching.texi @@ -1459,8 +1459,11 @@ corresponds to @code{(match-end @var{n})}. All the elements are markers or @code{nil} if matching was done on a buffer and all are integers or @code{nil} if matching was done on a string with @code{string-match}. If @var{integers} is -non-@code{nil}, then all elements are integers or @code{nil}, even if -matching was done on a buffer. Also, @code{match-beginning} and +non-@code{nil}, then the elements are integers or @code{nil}, even if +matching was done on a buffer. In that case, the buffer itself is +appended as an additional element at the end of the list +to facilitate complete restoration of the match data. Also, +@code{match-beginning} and @code{match-end} always return integers or @code{nil}. If @var{reuse} is non-@code{nil}, it should be a list. In that case, |