Commit 9fc0eb95 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(save-match-data): Fix typo in previous change.

parent 9f58e89e
......@@ -748,7 +748,7 @@ 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-internal '(match-data)))
`(let ((save-match-data-internal (match-data)))
(unwind-protect
(progn ,@body)
(store-match-data save-match-data-internal))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment