1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 14:10:47 -08:00

(save-match-data): Add RESEAT arg `evaporate' to

set-match-data to free markers in match-data.
This commit is contained in:
Kim F. Storm 2005-06-08 22:37:23 +00:00
parent 10ddc30eee
commit a0ef72dfd7

View file

@ -1970,7 +1970,7 @@ The value returned is the value of the last form in BODY."
'((save-match-data-internal (match-data)))
(list 'unwind-protect
(cons 'progn body)
'(set-match-data save-match-data-internal))))
'(set-match-data save-match-data-internal 'evaporate))))
(defun match-string (num &optional string)
"Return string of text matched by last search.