Mercurial > emacs
changeset 66146:51a739582477
(Excursions): Replace arg `forms' with `body' in `save-excursion'.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Mon, 17 Oct 2005 06:48:32 +0000 |
parents | 9d237c376071 |
children | aa0580d8ce5c |
files | lispref/positions.texi |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/positions.texi Mon Oct 17 06:48:00 2005 +0000 +++ b/lispref/positions.texi Mon Oct 17 06:48:32 2005 +0000 @@ -829,13 +829,13 @@ 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 @@ 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