From 0aae1d13f15af2e36636d02db11784d0884d59d7 Mon Sep 17 00:00:00 2001 From: dkf Date: Sun, 19 Oct 2008 16:27:58 +0000 Subject: Document [info coroutine]. --- ChangeLog | 2 ++ doc/info.n | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9f20624..52b3507 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-10-19 Donal K. Fellows + * doc/info.n: Added documentation of [info coroutine]. + * doc/prefix.n: Improved the documentation by fixing formatting, adding good-practice recommendations and cross-references, etc. diff --git a/doc/info.n b/doc/info.n index a5a3eaa..58bf428 100644 --- a/doc/info.n +++ b/doc/info.n @@ -8,7 +8,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: info.n,v 1.31 2008/10/17 10:22:25 dkf Exp $ +'\" RCS: @(#) $Id: info.n,v 1.32 2008/10/19 16:27:58 dkf Exp $ '\" .so man.macros .TH info n 8.4 Tcl "Tcl Built-In Commands" @@ -79,6 +79,13 @@ to allow users to type in commands that span multiple lines; if the command is not complete, the script can delay evaluating it until additional lines have been typed to complete the command. .TP +\fBinfo coroutine\fR +.VS 8.6 +Returns the name of the currently executing coroutine, or the empty string if +either no coroutine is currently executing, or the current coroutine has been +deleted (but has not yet returned or yielded since deletion). +.VE 8.6 +.TP \fBinfo default \fIprocname arg varname\fR . \fIProcname\fR must be the name of a Tcl command procedure and \fIarg\fR -- cgit v0.12