Commit a0ef72df authored by Kim F. Storm's avatar Kim F. Storm

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

set-match-data to free markers in match-data.
parent 10ddc30e
......@@ -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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment