summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2004-08-18 22:03:28 (GMT)
committerandreas_kupries <akupries@shaw.ca>2004-08-18 22:03:28 (GMT)
commit55bfd43c59e6f99a2a5f5d167e783b918e69e28c (patch)
treeb45e4b18e13428e70b10dc437aecf82aeae96167 /library/init.tcl
parent594f650ef34d6b732bb391b10d1c696de6108509 (diff)
downloadtcl-55bfd43c59e6f99a2a5f5d167e783b918e69e28c.zip
tcl-55bfd43c59e6f99a2a5f5d167e783b918e69e28c.tar.gz
tcl-55bfd43c59e6f99a2a5f5d167e783b918e69e28c.tar.bz2
* library/init.tcl: Integrated TIP #189. We source a separate file
(see below), instead of inlining the contents of that file. This should beeasier to maintain, and easier to backport/install in 8.4 installations. Note: Usage of Tcl Modules is restricted to non-safe interps. It cannot be loaded into a safe interp. * library/tm.tcl: New file, the v2 reference implementation for TIP #189, Tcl Modules.
Diffstat (limited to 'library/init.tcl')
-rw-r--r--library/init.tcl8
1 files changed, 7 insertions, 1 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 761aa4a..7b8d4de 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -3,7 +3,7 @@
# Default system startup file for Tcl-based applications. Defines
# "unknown" procedure and auto-load facilities.
#
-# RCS: @(#) $Id: init.tcl,v 1.64 2004/08/18 19:59:00 kennykb Exp $
+# RCS: @(#) $Id: init.tcl,v 1.65 2004/08/18 22:03:32 andreas_kupries Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -779,3 +779,9 @@ if { ![interp issafe] } {
}
}
}
+
+# Set up search for Tcl Modules (TIP #189).
+
+if { ![interp issafe] } {
+ source [file join [file dirname [info script]] tm.tcl]
+}