Index: doc/alias.man.inc =================================================================== diff -u -r430801481ec743e9b44376bc82f1568ac165cdf7 -ref17499c6911ca6b6712384f6793acc1d7cb856e --- doc/alias.man.inc (.../alias.man.inc) (revision 430801481ec743e9b44376bc82f1568ac165cdf7) +++ doc/alias.man.inc (.../alias.man.inc) (revision ef17499c6911ca6b6712384f6793acc1d7cb856e) @@ -12,11 +12,11 @@ [cmd proc]), the argument should be a fully qualified Tcl command name. If aliasing a subcommand (e.g., [cmd "array exists"]) of a Tcl namespace ensemble (e.g., [cmd array]), [arg cmdName] must hold the fully qualified subcommand name (and not the ensemble name of the subcommand). - -[para] As for a regular [method "[vset SCOPE] method"], [option "-returns"] allows -for setting a [term "value checker"] on the values -returned by the [term "alias method"]. [para] +As for a regular [method "[vset SCOPE] method"], [option "-returns"] +allows for setting a [term "value checker"] on the values returned by +the aliased command [arg cmdName]. +[para] When creating an [term "alias method"] for a [emph C-implemented] Tcl command (i.e., command defined using the Tcl/NX C-API), [opt [option -frame]] sets the scope @@ -25,4 +25,4 @@ context of the called object, i.e., the object upon which the [term "alias method"] is invoked, as if they were object variables. There is no need for using the colon-prefix notation for identifying object variables. If the -value is [const method], then the aliased command will be executed as a regular method call. The command is aware of its called-object context; i.e., it can resolve [cmd ::nx::self]. In addition, the [term "alias method"] has access to the method-call context (e.g., [cmd nx::next]). If [option "-frame"] is omitted, and by default, the variable references will resolve in the context of the caller of the [term "alias method"]. \ No newline at end of file +value is [const method], then the aliased command will be executed as a regular method call. The command is aware of its called-object context; i.e., it can resolve [cmd ::nx::self]. In addition, the [term "alias method"] has access to the method-call context (e.g., [cmd nx::next]). If [option "-frame"] is omitted, and by default, the variable references will resolve in the context of the caller of the [term "alias method"].