From: Richard M. Stallman Date: Thu, 29 Aug 1996 01:54:43 +0000 (+0000) Subject: (save-match-data): Fix previous change. X-Git-Tag: emacs-20.1~3979 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ecc06779805efb671c41c524e24bc6ddd128f11f;p=emacs.git (save-match-data): Fix previous change. --- diff --git a/lisp/subr.el b/lisp/subr.el index 31f9e05377f..b2ce0d73125 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -748,10 +748,10 @@ Wildcards and redirection are handled as usual in the shell." ;; 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.