diff options
author | dgp <dgp@noemail.net> | 2005-04-28 05:34:39 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2005-04-28 05:34:39 (GMT) |
commit | 8844d722d9a27addcd922915de23e0a389dad0d4 (patch) | |
tree | fb70f0396a0f5b17ad0eea6f00169be8a5d62111 /library | |
parent | 709ef94e813aee63b66295fadba4761eaf1aa394 (diff) | |
download | tcl-8844d722d9a27addcd922915de23e0a389dad0d4.zip tcl-8844d722d9a27addcd922915de23e0a389dad0d4.tar.gz tcl-8844d722d9a27addcd922915de23e0a389dad0d4.tar.bz2 |
* library/init.tcl: Corrected flaw in interactive command
* tests/main.test: auto-completion. [Bug 1191409].
FossilOrigin-Name: d43f85a9a8f0755d46c077900597163d5bf05e9d
Diffstat (limited to 'library')
-rw-r--r-- | library/init.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/init.tcl b/library/init.tcl index 0e7cd94..ea1cd85 100644 --- a/library/init.tcl +++ b/library/init.tcl @@ -3,7 +3,7 @@ # Default system startup file for Tcl-based applications. Defines # "unknown" procedure and auto-load facilities. # -# RCS: @(#) $Id: init.tcl,v 1.55.2.4 2004/11/13 00:41:58 dgp Exp $ +# RCS: @(#) $Id: init.tcl,v 1.55.2.5 2005/04/28 05:34:40 dgp Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -321,7 +321,7 @@ proc unknown args { } } if {[llength $cmds] == 1} { - return [uplevel 1 [lreplace $args 0 0 $cmds]] + return [uplevel 1 [lreplace $args 0 0 [lindex $cmds 0]]] } if {[llength $cmds]} { if {[string equal $name ""]} { |