aboutsummaryrefslogtreecommitdiff
path: root/doc/ref
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-04-12 12:01:38 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-04-12 12:01:54 +0200
commit7d1337d069921554e8a649b31a529f4bfcf05d76 (patch)
treef22dc85df17c1c64d664fdde76a200cfa44b9c1a /doc/ref
parentAdd registry of HTTP status codes. (diff)
downloadcalp-7d1337d069921554e8a649b31a529f4bfcf05d76.tar.gz
calp-7d1337d069921554e8a649b31a529f4bfcf05d76.tar.xz
Add with-locale1.
Diffstat (limited to 'doc/ref')
-rw-r--r--doc/ref/guile/util.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ref/guile/util.texi b/doc/ref/guile/util.texi
index 72aa30b1..1d35e0bf 100644
--- a/doc/ref/guile/util.texi
+++ b/doc/ref/guile/util.texi
@@ -324,6 +324,11 @@ Similar to @var{let}, but sets environment variables for the code in
body. Restores the old values once we leave.
@end defmac
+@defmac with-locale1 category locale thunk
+Run @var{thunk} with the locale @var{category} temporarily set to
+@var{locale}.
+@end defmac
+
@defmac catch* thunk (symbol proc) ...
Macro allowing multiple exception types to be caught. Each (symbol
proc) pair expands to a regular @code{catch}, with the leftmost being