From dbad0093f2f908de7349d1cf137b6609bec41d6c Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Thu, 13 May 2010 14:14:48 -0600 Subject: [PATCH] Ignoring superfluous error --- collects/teachpack/2htdp/scribblings/batch-io.scrbl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/collects/teachpack/2htdp/scribblings/batch-io.scrbl b/collects/teachpack/2htdp/scribblings/batch-io.scrbl index 0fbb937a7e..8530ce1833 100644 --- a/collects/teachpack/2htdp/scribblings/batch-io.scrbl +++ b/collects/teachpack/2htdp/scribblings/batch-io.scrbl @@ -144,5 +144,6 @@ There is only one writer function at the moment: ] @(parameterize ([current-directory here]) - (delete-file "output.txt")) + (with-handlers ([exn:fail:filesystem? void]) + (delete-file "output.txt")))