Mercurial > hg > xemacs-beta
diff man/lispref/positions.texi @ 280:7df0dd720c89 r21-0b38
Import from CVS: tag r21-0b38
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:32:22 +0200 |
parents | 360340f9fd5f |
children | c9fe270a4101 |
line wrap: on
line diff
--- a/man/lispref/positions.texi Mon Aug 13 10:31:30 2007 +0200 +++ b/man/lispref/positions.texi Mon Aug 13 10:32:22 2007 +0200 @@ -788,7 +788,19 @@ @defspec save-current-buffer forms@dots{} This special form is similar to @code{save-excursion} but it only -saves and restores the current buffer. +saves and restores the current buffer. Beginning with XEmacs 20.3, +@code{save-current-buffer} is a primitive. +@end defspec + +@defspec with-current-buffer buffer forms@dots{} +This special form evaluates @var{forms} with @var{buffer} as the current +buffer. It returns the value of the last form. +@end defspec + +@defspec with-temp-file file forms@dots{} +This special form creates a new buffer, evaluates @var{forms} there, and +writes the buffer to @var{file}. It returns the value of the last form +evaluated. @end defspec @defspec save-selected-window forms@dots{}