changeset 70642:3204a9fa48e4

(Current Buffer): Document that with-temp-buffer disables undo.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 13 May 2006 10:52:20 +0000
parents 9ca81af0642a
children 6d2e3853b2fc
files lispref/buffers.texi
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/buffers.texi	Sat May 13 10:48:01 2006 +0000
+++ b/lispref/buffers.texi	Sat May 13 10:52:20 2006 +0000
@@ -233,7 +233,9 @@
 with a temporary buffer as the current buffer.  It saves the identity of
 the current buffer, creates a temporary buffer and makes it current,
 evaluates the @var{body} forms, and finally restores the previous
-current buffer while killing the temporary buffer.
+current buffer while killing the temporary buffer.  By default, undo
+information (@pxref{Undo}) is not recorded in the buffer created by
+this macro (but @var{body} can enable that, if needed).
 
 The return value is the value of the last form in @var{body}.  You can
 return the contents of the temporary buffer by using