summaryrefslogtreecommitdiffstats
path: root/doc/apply.n
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2007-10-27 13:52:02 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2007-10-27 13:52:02 (GMT)
commitee30df8e7dce83db9022d7742013afd0934ba22c (patch)
tree12d0b1d7260e55b9db8ea3db191f75fbd9d0ef0d /doc/apply.n
parent335056e221f3314f00a82353c10a93880ba46f55 (diff)
downloadtcl-ee30df8e7dce83db9022d7742013afd0934ba22c.zip
tcl-ee30df8e7dce83db9022d7742013afd0934ba22c.tar.gz
tcl-ee30df8e7dce83db9022d7742013afd0934ba22c.tar.bz2
* doc/apply.n: fixed example [Bug 1811791]
* doc/namespace.n: improved example [Bug 1788984] * doc/AddErrInfo.3: typo [Bug 1715087]
Diffstat (limited to 'doc/apply.n')
-rw-r--r--doc/apply.n4
1 files changed, 2 insertions, 2 deletions
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