summaryrefslogtreecommitdiff
path: root/lispref/positions.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-05-28 04:01:48 +0000
committerRichard M. Stallman <rms@gnu.org>1998-05-28 04:01:48 +0000
commit7dd3d99f7e49646d3d84161770881f37ba002ef1 (patch)
treef03d20afe324a290648da7b144f3e8c810446090 /lispref/positions.texi
parent13da0554f62a88f309b1b79f688b1468420487a4 (diff)
downloademacs-7dd3d99f7e49646d3d84161770881f37ba002ef1.tar.gz
*** empty log message ***
Diffstat (limited to 'lispref/positions.texi')
-rw-r--r--lispref/positions.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/lispref/positions.texi b/lispref/positions.texi
index 02bd42b6669..b8ddd6188f1 100644
--- a/lispref/positions.texi
+++ b/lispref/positions.texi
@@ -752,15 +752,16 @@ The value returned by @code{save-excursion} is the result of the last of
@example
@group
-(save-excursion
- @var{forms})
+(save-excursion @var{forms})
@equiv{}
(let ((old-buf (current-buffer))
(old-pnt (point-marker))
+@end group
(old-mark (copy-marker (mark-marker))))
(unwind-protect
(progn @var{forms})
(set-buffer old-buf)
+@group
(goto-char old-pnt)
(set-marker (mark-marker) old-mark)))
@end group