# HG changeset patch # User Juanma Barranquero # Date 1014658909 0 # Node ID d51d403fd80a63f6ffceb07d96fbfca2d6fe4065 # Parent 72a6f90687584743a3838307b4a26077f0386aee (save-match-data): Doc fix. diff -r 72a6f9068758 -r d51d403fd80a lisp/subr.el --- a/lisp/subr.el Mon Feb 25 16:29:54 2002 +0000 +++ b/lisp/subr.el Mon Feb 25 17:41:49 2002 +0000 @@ -1452,7 +1452,8 @@ ;; We used to use an uninterned symbol; the compiler handles that properly ;; now, but it generates slower code. (defmacro save-match-data (&rest body) - "Execute the BODY forms, restoring the global value of the match data." + "Execute the BODY forms, restoring the global value of the match data. +The value returned is the value of the last form in BODY." ;; It is better not to use backquote here, ;; because that makes a bootstrapping problem ;; if you need to recompile all the Lisp files using interpreted code.