summaryrefslogtreecommitdiff
path: root/doc/ref/api-modules.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-05-22 22:06:34 +0200
committerLudovic Courtès <ludo@gnu.org>2020-05-22 22:06:34 +0200
commit723e483e7d88897f1ad654028e86a87dd040b886 (patch)
tree7855701ae9a88043a139c69d45cf2772c93f286d /doc/ref/api-modules.texi
parentac5df66f1cafd3f9dd1bcac30b807ae7f13474c2 (diff)
downloadguile-723e483e7d88897f1ad654028e86a87dd040b886.tar.gz
doc: #:autoload does not pull in all the module bindings.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>. 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.
Diffstat (limited to 'doc/ref/api-modules.texi')
-rw-r--r--doc/ref/api-modules.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/ref/api-modules.texi b/doc/ref/api-modules.texi
index 23343785d..4d1e95b50 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