summaryrefslogtreecommitdiff
path: root/lispref/streams.texi
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
commit3b9792585175a2b286024337d3bb31878d6e72d2 (patch)
tree88889f715aae8006c66d14d82536969163115518 /lispref/streams.texi
parentdd7d85bab7b6355f27f1d313775d03add73087ce (diff)
downloademacs-3b9792585175a2b286024337d3bb31878d6e72d2.tar.gz
Make examples in Output Streams stand on their own.
Diffstat (limited to 'lispref/streams.texi')
-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"