changeset 15965:daebc0d7f610

(save-match-data): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 29 Aug 1996 01:54:43 +0000
parents 0e6def53a74f
children ceb8d03a04f6
files lisp/subr.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Thu Aug 29 01:37:38 1996 +0000
+++ b/lisp/subr.el	Thu Aug 29 01:54:43 1996 +0000
@@ -748,10 +748,10 @@
 ;; now, but it generates slower code.
 (defmacro save-match-data (&rest body)
   "Execute the BODY forms, restoring the global value of the match data."
-  `(let ((save-match-data-variable '(match-data)))
+  `(let ((save-match-data-internal '(match-data)))
        (unwind-protect
 	   (progn ,@body)
-	 (store-match-data save-match-data-variable)))))
+	 (store-match-data save-match-data-internal))))
 
 (defun match-string (num &optional string)
   "Return string of text matched by last search.