summaryrefslogtreecommitdiffstats
path: root/library/tclIndex
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2019-03-05 11:28:54 (GMT)
committersebres <sebres@users.sourceforge.net>2019-03-05 11:28:54 (GMT)
commitb424e061934eba8c7799ee5fdbc92aa7fb1bed5a (patch)
treed5c61c729c7649b007f697963be5552414e4bf46 /library/tclIndex
parent00f20c7d65dde544bc8d32494bffddd0b2f17300 (diff)
downloadtcl-b424e061934eba8c7799ee5fdbc92aa7fb1bed5a.zip
tcl-b424e061934eba8c7799ee5fdbc92aa7fb1bed5a.tar.gz
tcl-b424e061934eba8c7799ee5fdbc92aa7fb1bed5a.tar.bz2
helper to import `timerate` on demand in unknown/autoload proceeding.
Diffstat (limited to 'library/tclIndex')
-rw-r--r--library/tclIndex3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/tclIndex b/library/tclIndex
index 010616f..c1ccb16 100644
--- a/library/tclIndex
+++ b/library/tclIndex
@@ -85,3 +85,6 @@ set auto_index(::tcl::tm::list) [list source [file join $dir tm.tcl]]
set auto_index(::tcl::tm::UnknownHandler) [list source [file join $dir tm.tcl]]
set auto_index(::tcl::tm::roots) [list source [file join $dir tm.tcl]]
set auto_index(::tcl::tm::path) [list source [file join $dir tm.tcl]]
+if {[namespace exists ::tcl::unsupported]} {
+ set auto_index(timerate) {namespace import ::tcl::unsupported::timerate}
+}