Allow stop-current-facet to take scripts to execute, like stop-facet
This commit is contained in:
parent
22998de0dc
commit
70a56e6457
|
@ -433,8 +433,8 @@
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(begin/void-default script ...))))))))]))
|
(begin/void-default script ...))))))))]))
|
||||||
|
|
||||||
(define-syntax-rule (stop-current-facet)
|
(define-syntax-rule (stop-current-facet script ...)
|
||||||
(stop-facet (current-facet-id)))
|
(stop-facet (current-facet-id) script ...))
|
||||||
|
|
||||||
(define-syntax (stop-when stx)
|
(define-syntax (stop-when stx)
|
||||||
(syntax-parse stx
|
(syntax-parse stx
|
||||||
|
|
Loading…
Reference in New Issue