diff --git a/collects/scribblings/reference/sandbox.scrbl b/collects/scribblings/reference/sandbox.scrbl index bdad2706a7..56d76a9af2 100644 --- a/collects/scribblings/reference/sandbox.scrbl +++ b/collects/scribblings/reference/sandbox.scrbl @@ -878,10 +878,11 @@ your own permissions, for example, @racketblock[ (let ([guard (current-security-guard)]) (call-in-sandbox-context + ev (lambda () (parameterize ([current-security-guard guard]) (code:comment @#,t{can access anything you want here}) - )))) + (delete-file "/some/file"))))) ]} @; ----------------------------------------------------------------------