(Current Buffer): Document that with-temp-buffer disables undo.
This commit is contained in:
parent
1299a5a438
commit
41103f87ba
1 changed files with 3 additions and 1 deletions
|
@ -233,7 +233,9 @@ The @code{with-temp-buffer} macro evaluates the @var{body} forms
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue