Commit e4d03691 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(save-match-data): Doc fix.

parent 1426742b
......@@ -5,6 +5,8 @@
 
2002-02-25 Juanma Barranquero <lektu@terra.es>
 
* subr.el (save-match-data): Doc fix.
* ielm.el (ielm-prompt): Allow customization; make it read-only.
 
2002-02-25 Kim F. Storm <storm@cua.dk>
......@@ -18,7 +20,7 @@
(inferior-emacs-lisp-mode): Make it buffer-local.
(ielm-eval-input): Use it to preserve match-data between inputs.
 
2002-02-24 Juanma Barranquero <jbarranquero@peoplecall.com>
2002-02-24 Juanma Barranquero <lektu@terra.es>
 
* ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
 
......
......@@ -1452,7 +1452,8 @@ Value is what BODY returns."
;; We used to use an uninterned symbol; the compiler handles that properly
;; now, but it generates slower code.
(defmacro save-match-data (&rest body)
"Execute the BODY forms, restoring the global value of the match data."
"Execute the BODY forms, restoring the global value of the match data.
The value returned is the value of the last form in BODY."
;; It is better not to use backquote here,
;; because that makes a bootstrapping problem
;; if you need to recompile all the Lisp files using interpreted code.
......
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