Commit 248a47c9 authored by Juri Linkov's avatar Juri Linkov
Browse files

(Excursions): Replace arg `forms' with `body' in `save-excursion'.

parent 3389865a
...@@ -829,13 +829,13 @@ after the completion of the excursion. ...@@ -829,13 +829,13 @@ after the completion of the excursion.
described elsewhere (see @ref{Window Configurations}, and @pxref{Frame described elsewhere (see @ref{Window Configurations}, and @pxref{Frame
Configurations}). Configurations}).
@defspec save-excursion forms@dots{} @defspec save-excursion body@dots{}
@cindex mark excursion @cindex mark excursion
@cindex point excursion @cindex point excursion
@cindex current buffer excursion @cindex current buffer excursion
The @code{save-excursion} special form saves the identity of the current The @code{save-excursion} special form saves the identity of the current
buffer and the values of point and the mark in it, evaluates buffer and the values of point and the mark in it, evaluates
@var{forms}, and finally restores the buffer and its saved values of @var{body}, and finally restores the buffer and its saved values of
point and the mark. All three saved values are restored even in case of point and the mark. All three saved values are restored even in case of
an abnormal exit via @code{throw} or error (@pxref{Nonlocal Exits}). an abnormal exit via @code{throw} or error (@pxref{Nonlocal Exits}).
...@@ -855,8 +855,8 @@ One way to restore these correspondences, and the selected window, is to ...@@ -855,8 +855,8 @@ One way to restore these correspondences, and the selected window, is to
use @code{save-window-excursion} inside @code{save-excursion} use @code{save-window-excursion} inside @code{save-excursion}
(@pxref{Window Configurations}). (@pxref{Window Configurations}).
The value returned by @code{save-excursion} is the result of the last of The value returned by @code{save-excursion} is the result of the last
@var{forms}, or @code{nil} if no @var{forms} are given. form in @var{body}, or @code{nil} if no body forms were given.
@example @example
@group @group
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment