summaryrefslogtreecommitdiffstats
path: root/doc/unknown.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/unknown.n')
-rw-r--r--doc/unknown.n2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/unknown.n b/doc/unknown.n
index ee8a5be..8ea1e8e 100644
--- a/doc/unknown.n
+++ b/doc/unknown.n
@@ -47,7 +47,7 @@ The default implementation of \fBunknown\fR behaves as follows.
It first calls the \fBauto_load\fR library procedure to load the command.
If this succeeds, then it executes the original command with its
original arguments.
-If the auto-load fails then \fBunknown\fR calls \fBauto_execok\fR
+If the auto-load fails and Tcl is run interactively then \fBunknown\fR calls \fBauto_execok\fR
to see if there is an executable file by the name \fIcmd\fR.
If so, it invokes the Tcl \fBexec\fR command
with \fIcmd\fR and all the \fIargs\fR as arguments.