summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--txr.115
1 files changed, 8 insertions, 7 deletions
diff --git a/txr.1 b/txr.1
index 14e5ba62..51ded597 100644
--- a/txr.1
+++ b/txr.1
@@ -39071,14 +39071,15 @@ are present.
.TP* "Example:"
-The following opens a text file and reads a line from it, returning that line,
-while ensuring that the stream is closed immediately:
+The following expression opens a text file and reads a line from it,
+returning that line, while ensuring that the stream is closed
+immediately:
-.mono
-(with-resources ((f (open-file "/etc/motd") (close-stream f)))
- (whilet ((l (get-line f)))
- (put-line l)))
-.onom
+.verb
+ (with-resources ((f (open-file "/etc/motd") (close-stream f)))
+ (whilet ((l (get-line f)))
+ (put-line l)))
+.brev