summaryrefslogtreecommitdiffstats
path: root/doc/library.n
diff options
context:
space:
mode:
authorwelch <welch@noemail.net>1998-10-30 23:01:56 (GMT)
committerwelch <welch@noemail.net>1998-10-30 23:01:56 (GMT)
commit6b989fce8c2eee26a14e6768ae7515a0c6e9d007 (patch)
tree0f29ab3c33738fa2824e9d888a3732975ab60ff7 /doc/library.n
parent476385e62af42439407392ba70b0fb2367a5484c (diff)
downloadtcl-6b989fce8c2eee26a14e6768ae7515a0c6e9d007.zip
tcl-6b989fce8c2eee26a14e6768ae7515a0c6e9d007.tar.gz
tcl-6b989fce8c2eee26a14e6768ae7515a0c6e9d007.tar.bz2
Overhaul of pkg_mkIndex
FossilOrigin-Name: 89ed51a0e3d3f38297d136d7ce6066655f3ebf52
Diffstat (limited to 'doc/library.n')
-rw-r--r--doc/library.n13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/library.n b/doc/library.n
index c7292e8..a760c04 100644
--- a/doc/library.n
+++ b/doc/library.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: library.n,v 1.4 1998/09/14 18:39:53 stanton Exp $
+'\" RCS: @(#) $Id: library.n,v 1.5 1998/10/30 23:02:02 welch Exp $
.so man.macros
.TH library n "8.0" Tcl "Tcl Built-In Commands"
.BS
@@ -238,17 +238,24 @@ any commands.
\fBauto_path\fR
If set, then it must contain a valid Tcl list giving directories to
search during auto-load operations.
+This variable is initialized during startup to contain, in order:
+the directories listed in the TCLLIBPATH environment variable,
+the directory named by the $tcl_library variable,
+the parent directory of $tcl_library,
+the directories listed in the $tcl_pkgPath variable.
.TP
\fBenv(TCL_LIBRARY)\fR
If set, then it specifies the location of the directory containing
-library scripts (the value of this variable will be returned by
+library scripts (the value of this variable will be
+assigned to the \fBtcl_library\fR variable and therefore returned by
the command \fBinfo library\fR). If this variable isn't set then
a default value is used.
.TP
\fBenv(TCLLIBPATH)\fR
If set, then it must contain a valid Tcl list giving directories to
search during auto-load operations.
-This variable is only used if \fBauto_path\fR is not defined.
+This variable is only used when
+initializing the \fBauto_path\fR variable.
.TP
\fBtcl_nonwordchars\fR
.VS