summaryrefslogtreecommitdiffstats
path: root/library/tk.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/tk.tcl')
-rw-r--r--library/tk.tcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/tk.tcl b/library/tk.tcl
index 311d316..441bd25 100644
--- a/library/tk.tcl
+++ b/library/tk.tcl
@@ -687,9 +687,11 @@ if {[tk windowingsystem] eq "aqua"} {
if {[tk windowingsystem] eq "aqua"} {
#stub procedures to respond to "do script" Apple Events
proc ::tk::mac::DoScriptFile {file} {
+ uplevel #0 $file
source $file
}
proc ::tk::mac::DoScriptText {script} {
+ uplevel #0 $script
eval $script
}
}