Mercurial > emacs
diff lisp/subr.el @ 63151:cb45242e9d82
(save-match-data): Add RESEAT arg `evaporate' to
set-match-data to free markers in match-data.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Wed, 08 Jun 2005 22:37:23 +0000 |
parents | 0d5825b4e125 |
children | bd20f5cf580f 173dee4e2611 |
line wrap: on
line diff
--- a/lisp/subr.el Wed Jun 08 22:37:13 2005 +0000 +++ b/lisp/subr.el Wed Jun 08 22:37:23 2005 +0000 @@ -1970,7 +1970,7 @@ '((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.