guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 01/02: doc: #:autoload does not pull in all the module b


From: Ludovic Courtès
Subject: [Guile-commits] 01/02: doc: #:autoload does not pull in all the module bindings.
Date: Fri, 22 May 2020 16:10:30 -0400 (EDT)

civodul pushed a commit to branch master
in repository guile.

commit 723e483e7d88897f1ad654028e86a87dd040b886
Author: Ludovic Courtès <address@hidden>
AuthorDate: Fri May 22 22:06:34 2020 +0200

    doc: #:autoload does not pull in all the module bindings.
    
    Reported by Jan Nieuwenhuizen <address@hidden>.
    This is a followup to cb14fd214365e50b6b1655616ae74d0228933bbd.
    
    * doc/ref/api-modules.texi (Creating Guile Modules): Remove bit that
    says all the bindings of an autoloaded module become available.
---
 doc/ref/api-modules.texi | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/doc/ref/api-modules.texi b/doc/ref/api-modules.texi
index 2334378..4d1e95b 100644
--- a/doc/ref/api-modules.texi
+++ b/doc/ref/api-modules.texi
@@ -1,6 +1,6 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Guile Reference Manual.
-@c Copyright (C)  1996, 1997, 2000-2004, 2007-2014, 2019
+@c Copyright (C)  1996, 1997, 2000-2004, 2007-2014, 2019, 2020
 @c   Free Software Foundation, Inc.
 @c See the file guile.texi for copying conditions.
 
@@ -295,8 +295,10 @@ example,
   (set! foo (delete-duplicates ...)))
 @end example
 
-When a module is autoloaded, all its bindings become available.
-@var{symbol-list} is just those that will first trigger the load.
+When a module is autoloaded, only the bindings in @var{symbol-list}
+become available@footnote{In Guile 2.2 and earlier, @emph{all} the
+module bindings would become available; @var{symbol-list} was just the
+list of bindings that will first trigger the load.}.
 
 An autoload is a good way to put off loading a big module until it's
 really needed, for instance for faster startup or if it will only be



reply via email to

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