aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index b2ce0d73125..fb4901711cc 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -748,7 +748,7 @@ Wildcards and redirection are handled as usual in the shell."
748;; now, but it generates slower code. 748;; now, but it generates slower code.
749(defmacro save-match-data (&rest body) 749(defmacro save-match-data (&rest body)
750 "Execute the BODY forms, restoring the global value of the match data." 750 "Execute the BODY forms, restoring the global value of the match data."
751 `(let ((save-match-data-internal '(match-data))) 751 `(let ((save-match-data-internal (match-data)))
752 (unwind-protect 752 (unwind-protect
753 (progn ,@body) 753 (progn ,@body)
754 (store-match-data save-match-data-internal)))) 754 (store-match-data save-match-data-internal))))