summaryrefslogtreecommitdiffstats
path: root/doc/library.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-08-21 10:25:18 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-08-21 10:25:18 (GMT)
commit4d6aaa2e8b970c7babd8047939266ccc21084c7e (patch)
tree53c322fba847e22c281759b85bd9d72102dff076 /doc/library.n
parentc084f0ea7500fe34df2ba6f00c46d310dbe542a0 (diff)
downloadtcl-4d6aaa2e8b970c7babd8047939266ccc21084c7e.zip
tcl-4d6aaa2e8b970c7babd8047939266ccc21084c7e.tar.gz
tcl-4d6aaa2e8b970c7babd8047939266ccc21084c7e.tar.bz2
[3612422]: Refer to correct part of tclvars(n) rather than page itself.
Diffstat (limited to 'doc/library.n')
-rw-r--r--doc/library.n10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/library.n b/doc/library.n
index 2413692..98dcb35 100644
--- a/doc/library.n
+++ b/doc/library.n
@@ -262,13 +262,17 @@ If set to any value, then \fBunknown\fR will not attempt to auto-load
any commands.
.TP
\fBauto_path\fR
+.
If set, then it must contain a valid Tcl list giving directories to
-search during auto-load operations.
+search during auto-load operations (including for package index
+files when using the default \fBpackage unknown\fR handler).
This variable is initialized during startup to contain, in order:
the directories listed in the \fBTCLLIBPATH\fR environment variable,
-the directory named by the \fBtcl_library\fR variable,
+the directory named by the \fBtcl_library\fR global variable,
the parent directory of \fBtcl_library\fR,
the directories listed in the \fBtcl_pkgPath\fR variable.
+Additional locations to look for files and package indices should
+normally be added to this variable using \fBlappend\fR.
.TP
\fBenv(TCL_LIBRARY)\fR
If set, then it specifies the location of the directory containing
@@ -306,7 +310,7 @@ considered to be a word character. On Windows platforms, words are
comprised of any character that is not a space, tab, or newline. Under
Unix, words are comprised of numbers, letters or underscores.
.SH "SEE ALSO"
-info(n), re_syntax(n), tclvars(n)
+env(n), info(n), re_syntax(n)
.SH KEYWORDS
auto-exec, auto-load, library, unknown, word, whitespace
'\"Local Variables: