summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2018-10-21 09:57:43 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2018-10-21 09:57:43 (GMT)
commit775ce545d2f9d37cb91b7e251ab708db97dab440 (patch)
treeac1e422b376a362ada6fdca082c09ee7e2821cf0 /doc
parent9b417d4592f2b4b1640d0877d27345928e4210a7 (diff)
downloadtcl-775ce545d2f9d37cb91b7e251ab708db97dab440.zip
tcl-775ce545d2f9d37cb91b7e251ab708db97dab440.tar.gz
tcl-775ce545d2f9d37cb91b7e251ab708db97dab440.tar.bz2
More tests. Better implementation.
Diffstat (limited to 'doc')
-rw-r--r--doc/define.n16
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/define.n b/doc/define.n
index 4e99b9a..8cab8d3 100644
--- a/doc/define.n
+++ b/doc/define.n
@@ -152,14 +152,15 @@ exported if \fIname\fR starts with a lower-case letter, and non-exported
otherwise; this behavior can be overridden via \fBexport\fR and
\fBunexport\fR
.VS TIP519
-or by specifying \fB\-export\fR or \fB\-unexport\fR in the optional parameter
-\fIoption\fR.
+or by specifying \fB\-export\fR, \fB\-private\fR or \fB\-unexport\fR in the
+optional parameter \fIoption\fR.
.VE TIP519
.RS
.PP
.VS TIP500
If in a private definition context (see the \fBprivate\fR definition command,
-below), this command creates private procedure-like methods.
+below) or if the \fB\-private\fR flag is given for \fIoption\fR, this command
+creates private procedure-like methods.
.VE TIP500
.RE
.TP
@@ -335,15 +336,16 @@ current namespace of the method will be a namespace that is unique to the
object. The method will be exported if \fIname\fR starts with a lower-case
letter, and non-exported otherwise;
.VS TIP519
-this can be overridden by specifying \fB\-export\fR or \fB\-unexport\fR in the
-optional parameter \fIoption\fR, or via the \fBexport\fR and \fBunexport\fR
-definitions.
+this can be overridden by specifying \fB\-export\fR, \fB\-private\fR or
+\fB\-unexport\fR in the optional parameter \fIoption\fR, or via the
+\fBexport\fR and \fBunexport\fR definitions.
.VE TIP519
.RS
.PP
.VS TIP500
If in a private definition context (see the \fBprivate\fR definition command,
-below), this command creates private procedure-like methods.
+below) or if the \fB\-private\fR flag is given for \fIoption\fR, this command
+creates private procedure-like methods.
.VE TIP500
.RE
.TP