1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-05 20:43:08 +00:00

(save-match-data): Doc fix.

This commit is contained in:
Juanma Barranquero 2002-02-25 17:44:03 +00:00
parent 1426742bdf
commit e4d03691de
2 changed files with 5 additions and 2 deletions

View File

@ -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.

View File

@ -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.