summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-07-29 23:49:18 +0000
committerRichard M. Stallman <rms@gnu.org>1996-07-29 23:49:18 +0000
commit9b7958c266bfaaa7faf515d2ecca41743a1b45df (patch)
treec1fb42e22741a944379df91cfc35d48cf962e8ab /lispref
parent920de3f4337072bcd82b0a395a2db64d7f8eb40d (diff)
downloademacs-9b7958c266bfaaa7faf515d2ecca41743a1b45df.tar.gz
Make examples in Output Streams stand on their own.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/streams.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/lispref/streams.texi b/lispref/streams.texi
index ec78da933a8..4088c80ad7f 100644
--- a/lispref/streams.texi
+++ b/lispref/streams.texi
@@ -390,6 +390,11 @@ initially located as shown immediately before the @samp{h} in
@cindex print example
@example
@group
+(setq m (set-marker (make-marker) 10 (get-buffer "foo")))
+ @result{} #<marker at 10 in foo>
+@end group
+
+@group
---------- Buffer: foo ----------
This is t@point{}he contents of foo.
---------- Buffer: foo ----------
@@ -399,6 +404,10 @@ This is t@point{}he contents of foo.
@result{} "This is the output"
@group
+m
+ @result{} #<marker at 32 in foo>
+@end group
+@group
---------- Buffer: foo ----------
This is t
"This is the output"