summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"