summaryrefslogtreecommitdiffstats
path: root/doc/library.n
diff options
context:
space:
mode:
authorwelch <welch>1998-10-30 23:01:57 (GMT)
committerwelch <welch>1998-10-30 23:01:57 (GMT)
commitf1783c8a8a98a34e315127940b9f03f950c03b31 (patch)
tree0f29ab3c33738fa2824e9d888a3732975ab60ff7 /doc/library.n
parent87056a32f65f4451dea20f209b70ca64277453ad (diff)
downloadtcl-f1783c8a8a98a34e315127940b9f03f950c03b31.zip
tcl-f1783c8a8a98a34e315127940b9f03f950c03b31.tar.gz
tcl-f1783c8a8a98a34e315127940b9f03f950c03b31.tar.bz2
Overhaul of pkg_mkIndex
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