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

(save-match-data): Add comment about using evaporate arg

to set-match-data.
parent 68be435e
......@@ -2020,6 +2020,8 @@ The value returned is the value of the last form in BODY."
'((save-match-data-internal (match-data)))
(list 'unwind-protect
(cons 'progn body)
;; It is safe to free (evaporate) markers immediately here,
;; as Lisp programs should not copy from save-match-data-internal.
'(set-match-data save-match-data-internal 'evaporate))))
(defun match-string (num &optional string)
......
2005-06-23 Kim F. Storm <storm@cua.dk>
* search.c (Fmatch_data): Remove evaporate option.
(Fmatch_data): Do not mention evaporate option in doc string.
Add commentary explaining evaporate arg (for internal use only).
(unwind_set_match_data): Add comment on evaporate use.
2005-06-22 Miles Bader <miles@gnu.org>
* xfaces.c (Qvertical_border): Renamed from `Qvertical_divider'.
......
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