summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-08-06 19:46:26 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-08-06 19:46:26 (GMT)
commitd60baf9f3c7b3c74386cd31147650c3a936e4fb2 (patch)
tree358064e13f267d69eaff58922183f384d8ee7ec2 /library/init.tcl
parent878b3777fceb1c6a339bd3bec9f0f5fd02a7d2d7 (diff)
downloadtcl-d60baf9f3c7b3c74386cd31147650c3a936e4fb2.zip
tcl-d60baf9f3c7b3c74386cd31147650c3a936e4fb2.tar.gz
tcl-d60baf9f3c7b3c74386cd31147650c3a936e4fb2.tar.bz2
missed some nukeable comments re [namespace inscope]
Diffstat (limited to 'library/init.tcl')
-rw-r--r--library/init.tcl11
1 files changed, 3 insertions, 8 deletions
diff --git a/library/init.tcl b/library/init.tcl
index ab5d858..3e47642 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.108 2008/08/06 19:23:13 msofer Exp $
+# RCS: @(#) $Id: init.tcl,v 1.109 2008/08/06 19:46:26 msofer Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -217,11 +217,9 @@ if {[namespace which -command tclLog] eq ""} {
# exist in the interpreter. It takes the following steps to make the
# command available:
#
-# 1. See if the command has the form "namespace inscope ns cmd" and
-# if so, concatenate its arguments onto the end and evaluate it.
-# 2. See if the autoload facility can locate the command in a
+# 1. See if the autoload facility can locate the command in a
# Tcl script file. If so, load it and execute it.
-# 3. If the command was invoked interactively at top-level:
+# 2. If the command was invoked interactively at top-level:
# (a) see if the command exists as an executable UNIX program.
# If so, "exec" the command.
# (b) see if the command requests csh-like history substitution
@@ -238,9 +236,6 @@ proc unknown args {
variable ::tcl::UnknownPending
global auto_noexec auto_noload env tcl_interactive
- # If the command word has the form "namespace inscope ns cmd"
- # then concatenate its arguments onto the end and evaluate it.
-
catch {set savedErrorInfo $::errorInfo}
catch {set savedErrorCode $::errorCode}