diff options
author | Juri Linkov <juri@jurta.org> | 2005-10-17 06:48:32 +0000 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2005-10-17 06:48:32 +0000 |
commit | 248a47c9ecaae0d55b4dd44b7582478e3003ebc3 (patch) | |
tree | 5a9edc55135cee83cf1940641ec49ddf3271fd43 | |
parent | 3389865aa2064beb577d4036d4030e46a56cf6ad (diff) | |
download | emacs-248a47c9ecaae0d55b4dd44b7582478e3003ebc3.tar.gz |
(Excursions): Replace arg `forms' with `body' in `save-excursion'.
-rw-r--r-- | lispref/positions.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lispref/positions.texi b/lispref/positions.texi index 77063addf9a..d1a7813aa60 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 |