summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/AddErrInfo.34
-rw-r--r--doc/apply.n4
-rw-r--r--doc/namespace.n4
3 files changed, 6 insertions, 6 deletions
diff --git a/doc/AddErrInfo.3 b/doc/AddErrInfo.3
index bc32cd1..7195d8f 100644
--- a/doc/AddErrInfo.3
+++ b/doc/AddErrInfo.3
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: AddErrInfo.3,v 1.15 2005/09/13 21:23:51 dgp Exp $
+'\" RCS: @(#) $Id: AddErrInfo.3,v 1.16 2007/10/27 13:52:02 msofer Exp $
'\"
.so man.macros
.TH Tcl_AddErrorInfo 3 8.5 Tcl "Tcl Library Procedures"
@@ -161,7 +161,7 @@ operations that were in progress when an error occurred,
and is intended to be human-readable.
The \fB-errorcode\fR option holds a list of items that
are intended to be machine-readable.
-The first item in the \fB-errocode\fR value identifies the class of
+The first item in the \fB-errorcode\fR value identifies the class of
error that occurred
(e.g. POSIX means an error occurred in a POSIX system call)
and additional elements hold additional pieces
diff --git a/doc/apply.n b/doc/apply.n
index 1e69e69..91e6bf0 100644
--- a/doc/apply.n
+++ b/doc/apply.n
@@ -82,10 +82,10 @@ The \fBapply\fR command is also useful for defining callbacks for use in the
\fBtrace\fR command:
.CS
set vbl "123abc"
-trace add variable vbl write {\fBapply\fR {v1 v2 op} {
+trace add variable vbl write {\fBapply\fR {{v1 v2 op} {
upvar 1 $v1 v
puts "updated variable to \\"$v\\""
-}}
+}}}
set vbl 123
set vbl abc
.CE
diff --git a/doc/namespace.n b/doc/namespace.n
index f1af905..4b77a32 100644
--- a/doc/namespace.n
+++ b/doc/namespace.n
@@ -7,7 +7,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: namespace.n,v 1.23 2007/10/26 20:11:53 dgp Exp $
+'\" RCS: @(#) $Id: namespace.n,v 1.24 2007/10/27 13:52:02 msofer Exp $
'\"
.so man.macros
.TH namespace n 8.5 Tcl "Tcl Built-In Commands"
@@ -57,7 +57,7 @@ and they will be passed to \fIscript\fR as additional arguments.
For example, suppose the command
\fBset script [namespace code {foo bar}]\fR
is invoked in namespace \fB::a::b\fR.
-Then \fBeval "$script x y"\fR
+Then \fBeval $script [list x y]\fR
can be executed in any namespace (assuming the value of
\fBscript\fR has been passed in properly)
and will have the same effect as the command