summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/bind.n6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/bind.n b/doc/bind.n
index a38a7a3..1331316 100644
--- a/doc/bind.n
+++ b/doc/bind.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: bind.n,v 1.13 2004/06/21 19:31:51 dkf Exp $
+'\" RCS: @(#) $Id: bind.n,v 1.14 2004/06/21 19:32:54 dkf Exp $
'\"
.so man.macros
.TH bind n 8.0 Tk "Tk Built-In Commands"
@@ -668,7 +668,7 @@ The \fBbgerror\fR command will be executed at global level
Arrange for a string describing the motion of the mouse to be printed
out when the mouse is double-clicked:
.CS
-bind . <Double-1> {
+\fBbind\fR . <Double-1> {
puts "hi from (%x,%y)"
}
.CE
@@ -678,7 +678,7 @@ pressed is:
.CS
set keysym "Press any key"
pack [label .l -textvariable keysym -padx 2m -pady 1m]
-bind . <Key> {
+\fBbind\fR . <Key> {
set keysym "You pressed %K"
}
.CE