summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2023-05-04 18:21:01 (GMT)
committerdgp <dgp@users.sourceforge.net>2023-05-04 18:21:01 (GMT)
commitf976a32c62ccbb7a5740756f8641f1f73357e57e (patch)
tree0ff76c8d0233e14c83672db7d585c1f698b2a178
parentdf75b9195608f60545ced2c165c87ad65288c66d (diff)
downloadtcl-f976a32c62ccbb7a5740756f8641f1f73357e57e.zip
tcl-f976a32c62ccbb7a5740756f8641f1f73357e57e.tar.gz
tcl-f976a32c62ccbb7a5740756f8641f1f73357e57e.tar.bz2
Remove mention of Tcl_GlobalEval() from comment.
-rw-r--r--generic/tclHistory.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclHistory.c b/generic/tclHistory.c
index 24f6d65..0782629 100644
--- a/generic/tclHistory.c
+++ b/generic/tclHistory.c
@@ -58,8 +58,9 @@ Tcl_RecordAndEval(
const char *cmd, /* Command to record. */
int flags) /* Additional flags. TCL_NO_EVAL means only
* record: don't execute command.
- * TCL_EVAL_GLOBAL means use Tcl_GlobalEval
- * instead of Tcl_Eval. */
+ * TCL_EVAL_GLOBAL means evaluate the script
+ * in global variable context instead of the
+ * current procedure. */
{
Tcl_Obj *cmdPtr;
int length = strlen(cmd);