aboutsummaryrefslogtreecommitdiff
path: root/doc/ref/general/util.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ref/general/util.texi')
-rw-r--r--doc/ref/general/util.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/ref/general/util.texi b/doc/ref/general/util.texi
index 1d6a4e7a..ced5c27a 100644
--- a/doc/ref/general/util.texi
+++ b/doc/ref/general/util.texi
@@ -341,6 +341,13 @@ A variable can also be removed from the environment, by setting its
value to @code{#f}.
@end defmac
+@defmac with-working-directory directory thunk
+Run @var{thunk} with the working directory set to @var{directory}.
+
+Note that this probably isn't thread safe. See source for more
+inforamtion.
+@end defmac
+
@defmac with-locale1 category locale thunk
Run @var{thunk} with the locale @var{category} temporarily set to
@var{locale}.