summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2005-02-16 18:51:56 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2005-02-16 18:51:56 (GMT)
commitb4ff3c2539d633872f55f9e907d4df15f2989c3c (patch)
treef5ab89341518c442110291449fda525b07fe274f
parent66bcfe37dd92b5ad577ea963159868d70655b49a (diff)
downloadtcl-b4ff3c2539d633872f55f9e907d4df15f2989c3c.zip
tcl-b4ff3c2539d633872f55f9e907d4df15f2989c3c.tar.gz
tcl-b4ff3c2539d633872f55f9e907d4df15f2989c3c.tar.bz2
* /doc/variable.n: fix for [Bug 1124160], variables are detected
by [info vars] but not by [info locals].
-rw-r--r--ChangeLog5
-rw-r--r--doc/variable.n4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 942616c..27cf29a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-16 Miguel Sofer <msofer@users.sf.net>
+
+ * /doc/variable.n: fix for [Bug 1124160], variables are detected
+ by [info vars] but not by [info locals].
+
2005-02-11 Jeff Hobbs <jeffh@ActiveState.com>
* unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlined
diff --git a/doc/variable.n b/doc/variable.n
index 1676913..080dc44 100644
--- a/doc/variable.n
+++ b/doc/variable.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: variable.n,v 1.6 2004/10/27 14:43:54 dkf Exp $
+'\" RCS: @(#) $Id: variable.n,v 1.7 2005/02/16 18:52:24 msofer Exp $
'\"
.so man.macros
.TH variable n 8.0 Tcl "Tcl Built-In Commands"
@@ -43,7 +43,7 @@ command, but not to the \fBinfo exists\fR command.
If the \fBvariable\fR command is executed inside a Tcl procedure,
it creates local variables
linked to the corresponding namespace variables (and therefore these
-variables are listed by \fBinfo locals\fR.)
+variables are listed by \fBinfo vars\fR.)
In this way the \fBvariable\fR command resembles the \fBglobal\fR command,
although the \fBglobal\fR command
only links to variables in the global namespace.