diff options
author | nijtmans <nijtmans> | 2009-11-18 21:23:20 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-11-18 21:23:20 (GMT) |
commit | e732dcbc33f07f700918fed16ed2a8d62d5d3500 (patch) | |
tree | 4d8bf7878ee2bf754c56b86cc47d868c3400ac5b /library/history.tcl | |
parent | 76095248c12bff189c0c8c073ca52ed6e384b87c (diff) | |
download | tcl-e732dcbc33f07f700918fed16ed2a8d62d5d3500.zip tcl-e732dcbc33f07f700918fed16ed2a8d62d5d3500.tar.gz tcl-e732dcbc33f07f700918fed16ed2a8d62d5d3500.tar.bz2 |
Eliminate "then" keyword
Diffstat (limited to 'library/history.tcl')
-rw-r--r-- | library/history.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/history.tcl b/library/history.tcl index 077d604..4d21143 100644 --- a/library/history.tcl +++ b/library/history.tcl @@ -2,7 +2,7 @@ # # Implementation of the history command. # -# RCS: @(#) $Id: history.tcl,v 1.8 2009/07/25 21:51:02 dkf Exp $ +# RCS: @(#) $Id: history.tcl,v 1.9 2009/11/18 21:23:20 nijtmans Exp $ # # Copyright (c) 1997 Sun Microsystems, Inc. # @@ -78,7 +78,7 @@ proc ::tcl::HistAdd {event {exec {}}} { if { [prefix longest {exec {}} $exec] eq "" && [llength [info level 0]] == 3 - } then { + } { return -code error "bad argument \"$exec\": should be \"exec\"" } |