guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/3] Change make-dynamic-state mentions to current-dynamic-state


From: Andrew Tropin
Subject: [PATCH 2/3] Change make-dynamic-state mentions to current-dynamic-state
Date: Tue, 25 Jun 2024 15:20:11 +0400

* doc/ref/api-scheduling.texi:
* libguile/fluids.c:
---
 doc/ref/api-scheduling.texi | 2 +-
 libguile/fluids.c           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/ref/api-scheduling.texi b/doc/ref/api-scheduling.texi
index d79808049..f6cc942a1 100644
--- a/doc/ref/api-scheduling.texi
+++ b/doc/ref/api-scheduling.texi
@@ -199,7 +199,7 @@ A fluid created with @code{make-thread-local-fluid} won't 
be captured by
 Return a newly created fluid, whose initial value is @var{dflt}, or
 @code{#f} if @var{dflt} is not given.  Unlike fluids made with
 @code{make-fluid}, thread local fluids are not captured by
-@code{make-dynamic-state}.  Similarly, a newly spawned child thread does
+@code{current-dynamic-state}.  Similarly, a newly spawned child thread does
 not inherit thread-local fluid values from the parent thread.
 @end deffn
 
diff --git a/libguile/fluids.c b/libguile/fluids.c
index ebdb48fbc..4632f32ae 100644
--- a/libguile/fluids.c
+++ b/libguile/fluids.c
@@ -264,7 +264,7 @@ SCM_DEFINE (scm_make_thread_local_fluid, 
"make-thread-local-fluid", 0, 1, 0,
            "Return a newly created fluid, whose initial value is @var{dflt},\n"
             "or @code{#f} if @var{dflt} is not given.  Unlike fluids made\n"
            "with @code{make-fluid}, thread local fluids are not captured\n"
-            "by @code{make-dynamic-state}.  Similarly, a newly spawned\n"
+            "by @code{current-dynamic-state}.  Similarly, a newly spawned\n"
             "child thread does not inherit thread-local fluid values from\n"
             "the parent thread.")
 #define FUNC_NAME s_scm_make_thread_local_fluid
-- 
2.45.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]