changeset 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 571afd8b238a
children 3f80de0be046
files lisp/subr.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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.