summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2005-10-17 06:48:32 +0000
committerJuri Linkov <juri@jurta.org>2005-10-17 06:48:32 +0000
commit248a47c9ecaae0d55b4dd44b7582478e3003ebc3 (patch)
tree5a9edc55135cee83cf1940641ec49ddf3271fd43
parent3389865aa2064beb577d4036d4030e46a56cf6ad (diff)
(Excursions): Replace arg `forms' with `body' in `save-excursion'.
-rw-r--r--lispref/positions.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/lispref/positions.texi b/lispref/positions.texi
index 77063addf9..d1a7813aa6 100644
--- a/lispref/positions.texi
+++ b/lispref/positions.texi
@@ -829,13 +829,13 @@ after the completion of the excursion.
described elsewhere (see @ref{Window Configurations}, and @pxref{Frame
Configurations}).
-@defspec save-excursion forms@dots{}
+@defspec save-excursion body@dots{}
@cindex mark excursion
@cindex point excursion
@cindex current buffer excursion
The @code{save-excursion} special form saves the identity of the current
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
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
use @code{save-window-excursion} inside @code{save-excursion}
(@pxref{Window Configurations}).
-The value returned by @code{save-excursion} is the result of the last of
-@var{forms}, or @code{nil} if no @var{forms} are given.
+The value returned by @code{save-excursion} is the result of the last
+form in @var{body}, or @code{nil} if no body forms were given.
@example
@group