]> git.eshelyaron.com Git - emacs.git/commitdiff
(Entire Match Data): Add explanation about new
authorDavid Kastrup <dak@gnu.org>
Thu, 1 Jul 2004 23:54:21 +0000 (23:54 +0000)
committerDavid Kastrup <dak@gnu.org>
Thu, 1 Jul 2004 23:54:21 +0000 (23:54 +0000)
match-data behavior when @var{integers} is non-nil.

lispref/ChangeLog
lispref/searching.texi

index 970ecc4d494757a3cf8adfd06a08100f58c2b4f1..ff73949f771da2837d4c3fcc47df9064a4a9e3d5 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-02  David Kastrup  <dak@gnu.org>
+
+       * searching.texi (Entire Match Data): Add explanation about new
+       match-data behavior when @var{integers} is non-nil.
+
 2004-06-24  Richard M. Stallman  <rms@gnu.org>
 
        * commands.texi (Misc Events): Describe usr1-signal, usr2-signal event.
index d18587ccecb123c3ee654a59a4836db2f2acd3a6..4a2703fd6403f21da7ba6d70613fa51a0ce5bc74 100644 (file)
@@ -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,