summaryrefslogtreecommitdiffstats
path: root/doc/apply.n
diff options
context:
space:
mode:
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 91e6bf0..fea6a5f 100644
--- a/doc/apply.n
+++ b/doc/apply.n
@@ -49,7 +49,7 @@ The semantics of \fBapply\fR can also be described by:
proc apply {fun args} {
set len [llength $fun]
if {($len < 2) || ($len > 3)} {
- error "can't interpret \\"$fun\\" as anonymous function"
+ error "can't interpret \e"$fun\e" as anonymous function"
}
lassign $fun argList body ns
set name ::$ns::[getGloballyUniqueName]
@@ -84,7 +84,7 @@ The \fBapply\fR command is also useful for defining callbacks for use in the
set vbl "123abc"
trace add variable vbl write {\fBapply\fR {{v1 v2 op} {
upvar 1 $v1 v
- puts "updated variable to \\"$v\\""
+ puts "updated variable to \e"$v\e""
}}}
set vbl 123
set vbl abc