summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-28 13:17:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-28 13:17:47 (GMT)
commitb7e862c5654df82b0f5cff5fc9ab501022bfe4dd (patch)
tree90bcfac74be46fac31536713178714d03a6dd38f /library/init.tcl
parentee6806b80d84376e44d904884d5afc001ba9a4de (diff)
downloadtcl-b7e862c5654df82b0f5cff5fc9ab501022bfe4dd.zip
tcl-b7e862c5654df82b0f5cff5fc9ab501022bfe4dd.tar.gz
tcl-b7e862c5654df82b0f5cff5fc9ab501022bfe4dd.tar.bz2
Complete implementation, tests and documentation
Diffstat (limited to 'library/init.tcl')
-rw-r--r--library/init.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 544ea77..bac6270 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -483,7 +483,7 @@ proc auto_load_index {} {
set dir [lindex $auto_path $i]
set f ""
if {$issafe} {
- catch {source [file join $dir tclIndex]}
+ catch {source -nopkg [file join $dir tclIndex]}
} elseif {[catch {set f [open [file join $dir tclIndex]]}]} {
continue
} else {