aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2005-10-17 06:48:32 +0000
committerJuri Linkov2005-10-17 06:48:32 +0000
commit248a47c9ecaae0d55b4dd44b7582478e3003ebc3 (patch)
tree5a9edc55135cee83cf1940641ec49ddf3271fd43
parent3389865aa2064beb577d4036d4030e46a56cf6ad (diff)
downloademacs-248a47c9ecaae0d55b4dd44b7582478e3003ebc3.tar.gz
emacs-248a47c9ecaae0d55b4dd44b7582478e3003ebc3.zip
(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 77063addf9a..d1a7813aa60 100644
--- a/lispref/positions.texi
+++ b/lispref/positions.texi
@@ -829,13 +829,13 @@ after the completion of the excursion.
829described elsewhere (see @ref{Window Configurations}, and @pxref{Frame 829described elsewhere (see @ref{Window Configurations}, and @pxref{Frame
830Configurations}). 830Configurations}).
831 831
832@defspec save-excursion forms@dots{} 832@defspec save-excursion body@dots{}
833@cindex mark excursion 833@cindex mark excursion
834@cindex point excursion 834@cindex point excursion
835@cindex current buffer excursion 835@cindex current buffer excursion
836The @code{save-excursion} special form saves the identity of the current 836The @code{save-excursion} special form saves the identity of the current
837buffer and the values of point and the mark in it, evaluates 837buffer and the values of point and the mark in it, evaluates
838@var{forms}, and finally restores the buffer and its saved values of 838@var{body}, and finally restores the buffer and its saved values of
839point and the mark. All three saved values are restored even in case of 839point and the mark. All three saved values are restored even in case of
840an abnormal exit via @code{throw} or error (@pxref{Nonlocal Exits}). 840an abnormal exit via @code{throw} or error (@pxref{Nonlocal Exits}).
841 841
@@ -855,8 +855,8 @@ One way to restore these correspondences, and the selected window, is to
855use @code{save-window-excursion} inside @code{save-excursion} 855use @code{save-window-excursion} inside @code{save-excursion}
856(@pxref{Window Configurations}). 856(@pxref{Window Configurations}).
857 857
858The value returned by @code{save-excursion} is the result of the last of 858The value returned by @code{save-excursion} is the result of the last
859@var{forms}, or @code{nil} if no @var{forms} are given. 859form in @var{body}, or @code{nil} if no body forms were given.
860 860
861@example 861@example
862@group 862@group