From e4d03691de36a4b44508225c87a5d23ad8e93b61 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 25 Feb 2002 17:44:03 +0000 Subject: [PATCH] (save-match-data): Doc fix. --- lisp/ChangeLog | 4 +++- lisp/subr.el | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8ffbb241804..08fdaf06a7b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -5,6 +5,8 @@ 2002-02-25 Juanma Barranquero + * subr.el (save-match-data): Doc fix. + * ielm.el (ielm-prompt): Allow customization; make it read-only. 2002-02-25 Kim F. Storm @@ -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 +2002-02-24 Juanma Barranquero * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process. diff --git a/lisp/subr.el b/lisp/subr.el index 4f2b7572861..210a8f571ce 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -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. -- 2.39.2