diff lisp/subr.el @ 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 32d772cba2c1
children 9a41bae14122
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.