From 377171cfe46aae3b27ad6221adbf4521359c2d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 16 Oct 2022 22:10:18 +0200 Subject: Extend catch to allow pre-unwind handlers. --- doc/ref/guile/util.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/ref') diff --git a/doc/ref/guile/util.texi b/doc/ref/guile/util.texi index e2e90c84..f9e6527e 100644 --- a/doc/ref/guile/util.texi +++ b/doc/ref/guile/util.texi @@ -321,6 +321,9 @@ body. Restores the old values once we leave. Macro allowing multiple exception types to be caught. Each (symbol proc) pair expands to a regular @code{catch}, with the leftmost being innermost. + +@var{Symbol} can also be on the form @code{(pre-unwind @var{symbol})}, +then @code{with-throw-handler} is used instead of @code{catch}. @end defmac @subsection UUID generation -- cgit v1.2.3