aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Kastrup2004-07-01 23:54:21 +0000
committerDavid Kastrup2004-07-01 23:54:21 +0000
commit7a58d84d0a045bc98951fc4c143701da63397d06 (patch)
tree9ff2e0ab7b73d0522effe1b73ef317b33c596426
parentcfceee1ed381ded22ebbb102afe70f315e189c1d (diff)
downloademacs-7a58d84d0a045bc98951fc4c143701da63397d06.tar.gz
emacs-7a58d84d0a045bc98951fc4c143701da63397d06.zip
(Entire Match Data): Add explanation about new
match-data behavior when @var{integers} is non-nil.
-rw-r--r--lispref/ChangeLog5
-rw-r--r--lispref/searching.texi7
2 files changed, 10 insertions, 2 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 970ecc4d494..ff73949f771 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,8 @@
12004-07-02 David Kastrup <dak@gnu.org>
2
3 * searching.texi (Entire Match Data): Add explanation about new
4 match-data behavior when @var{integers} is non-nil.
5
12004-06-24 Richard M. Stallman <rms@gnu.org> 62004-06-24 Richard M. Stallman <rms@gnu.org>
2 7
3 * commands.texi (Misc Events): Describe usr1-signal, usr2-signal event. 8 * commands.texi (Misc Events): Describe usr1-signal, usr2-signal event.
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})}.
1459All the elements are markers or @code{nil} if matching was done on a 1459All the elements are markers or @code{nil} if matching was done on a
1460buffer and all are integers or @code{nil} if matching was done on a 1460buffer and all are integers or @code{nil} if matching was done on a
1461string with @code{string-match}. If @var{integers} is 1461string with @code{string-match}. If @var{integers} is
1462non-@code{nil}, then all elements are integers or @code{nil}, even if 1462non-@code{nil}, then the elements are integers or @code{nil}, even if
1463matching was done on a buffer. Also, @code{match-beginning} and 1463matching was done on a buffer. In that case, the buffer itself is
1464appended as an additional element at the end of the list
1465to facilitate complete restoration of the match data. Also,
1466@code{match-beginning} and
1464@code{match-end} always return integers or @code{nil}. 1467@code{match-end} always return integers or @code{nil}.
1465 1468
1466If @var{reuse} is non-@code{nil}, it should be a list. In that case, 1469If @var{reuse} is non-@code{nil}, it should be a list. In that case,