diff options
| -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. | |||
| 829 | described elsewhere (see @ref{Window Configurations}, and @pxref{Frame | 829 | described elsewhere (see @ref{Window Configurations}, and @pxref{Frame |
| 830 | Configurations}). | 830 | Configurations}). |
| 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 |
| 836 | The @code{save-excursion} special form saves the identity of the current | 836 | The @code{save-excursion} special form saves the identity of the current |
| 837 | buffer and the values of point and the mark in it, evaluates | 837 | buffer 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 |
| 839 | point and the mark. All three saved values are restored even in case of | 839 | point and the mark. All three saved values are restored even in case of |
| 840 | an abnormal exit via @code{throw} or error (@pxref{Nonlocal Exits}). | 840 | an 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 | |||
| 855 | use @code{save-window-excursion} inside @code{save-excursion} | 855 | use @code{save-window-excursion} inside @code{save-excursion} |
| 856 | (@pxref{Window Configurations}). | 856 | (@pxref{Window Configurations}). |
| 857 | 857 | ||
| 858 | The value returned by @code{save-excursion} is the result of the last of | 858 | The value returned by @code{save-excursion} is the result of the last |
| 859 | @var{forms}, or @code{nil} if no @var{forms} are given. | 859 | form in @var{body}, or @code{nil} if no body forms were given. |
| 860 | 860 | ||
| 861 | @example | 861 | @example |
| 862 | @group | 862 | @group |