| # | Line 157 | Line 157 | proc update_dir w { # Update working directory | |
|---|---|---|
| 157 | if {"$curpat" == ""} { | |
| 158 | set curpat * | |
| 159 | } | |
| 160 | + | if {"$curdir" == {}} {set curdir {~}} |
| 161 | if [catch {cd $curdir} curdir] { | |
| 162 | set oldcol [lindex [$w.de config -foreground] 4] | |
| 163 | $w.de config -foreground Red | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |