+2004-05-12 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * tkcon.tcl (observe): allow observe of 'proc'
+
2004-03-20 Jeff Hobbs <jeffh@ActiveState.com>
* tkcon.tcl (::tkcon::EvalSocketEvent): correctly handle socket
rename $name $old
set max 4
regexp {^[0-9]+} $args max
+ # handle the observe'ing of 'proc'
+ set proccmd "proc"
+ if {[string match "proc" $name]} { set proccmd $old }
## idebug trace could be used here
- proc $name args "
+ $proccmd $name args "
for {set i \[info level\]; set max \[expr \[info level\]-$max\]} {
\$i>=\$max && !\[catch {uplevel \#\$i info level 0} info\]
} {incr i -1} {