comparison 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
comparison
equal deleted inserted replaced
279:c20b2fb5bb0a 280:7df0dd720c89
786 @end example 786 @end example
787 @end defspec 787 @end defspec
788 788
789 @defspec save-current-buffer forms@dots{} 789 @defspec save-current-buffer forms@dots{}
790 This special form is similar to @code{save-excursion} but it only 790 This special form is similar to @code{save-excursion} but it only
791 saves and restores the current buffer. 791 saves and restores the current buffer. Beginning with XEmacs 20.3,
792 @code{save-current-buffer} is a primitive.
793 @end defspec
794
795 @defspec with-current-buffer buffer forms@dots{}
796 This special form evaluates @var{forms} with @var{buffer} as the current
797 buffer. It returns the value of the last form.
798 @end defspec
799
800 @defspec with-temp-file file forms@dots{}
801 This special form creates a new buffer, evaluates @var{forms} there, and
802 writes the buffer to @var{file}. It returns the value of the last form
803 evaluated.
792 @end defspec 804 @end defspec
793 805
794 @defspec save-selected-window forms@dots{} 806 @defspec save-selected-window forms@dots{}
795 This special form is similar to @code{save-excursion} but it saves and 807 This special form is similar to @code{save-excursion} but it saves and
796 restores the selected window and nothing else. 808 restores the selected window and nothing else.