Allow stop-current-facet to take scripts to execute, like stop-facet

This commit is contained in:
Tony Garnock-Jones 2017-10-12 13:59:11 +01:00
parent 22998de0dc
commit 70a56e6457
1 changed files with 2 additions and 2 deletions

View File

@ -433,8 +433,8 @@
(lambda ()
(begin/void-default script ...))))))))]))
(define-syntax-rule (stop-current-facet)
(stop-facet (current-facet-id)))
(define-syntax-rule (stop-current-facet script ...)
(stop-facet (current-facet-id) script ...))
(define-syntax (stop-when stx)
(syntax-parse stx