(Entire Match Data): Rephrase warnings about
evaporate arg to match-data and set-match-data.
This commit is contained in:
@@ -1531,8 +1531,9 @@ are reseated to point to nowhere, and if the value is @code{evaporate},
|
||||
the markers are put back on the free list.
|
||||
|
||||
@strong{Warning:} When @code{evaporate} is specified for @var{reseat},
|
||||
no other references to the markers on the @var{reuse} list; otherwise,
|
||||
Emacs may crash during the next garbage collection.
|
||||
you must ensure that no other references to the markers on the
|
||||
@var{reuse} list exists; otherwise, Emacs may crash during the next
|
||||
garbage collection.
|
||||
|
||||
As always, there must be no possibility of intervening searches between
|
||||
the call to a search function and the call to @code{match-data} that is
|
||||
@@ -1563,8 +1564,9 @@ are reseated to point to nowhere, and if the value is @code{evaporate},
|
||||
the markers are put back on the free list.
|
||||
|
||||
@strong{Warning:} When @code{evaporate} is specified for @var{reseat},
|
||||
no other references to the markers on the @var{match-list} list; otherwise,
|
||||
Emacs may crash during the next garbage collection.
|
||||
you must ensure that no other references to the markers on the
|
||||
@var{match-list} list exists; otherwise, Emacs may crash during the
|
||||
next garbage collection.
|
||||
|
||||
@findex store-match-data
|
||||
@code{store-match-data} is a semi-obsolete alias for @code{set-match-data}.
|
||||
|
||||
Reference in New Issue
Block a user