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)
commit3f61f168eb9d98c28312cdea25b214827c3692f2 (patch)
tree53c322fba847e22c281759b85bd9d72102dff076 /doc/library.n
parent9feda62fe0318715623c455abe7289bbb7dec34e (diff)
downloadtcl-3f61f168eb9d98c28312cdea25b214827c3692f2.zip
tcl-3f61f168eb9d98c28312cdea25b214827c3692f2.tar.gz
tcl-3f61f168eb9d98c28312cdea25b214827c3692f2.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: