|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-11-11 04:20:18
|
Ethan Merritt wrote:
> Hmm. But it isn't "set var foo", it's "var = foo".
> So "unset" is misleading.
But we _do_ "show var foo", so "{set|unset} var foo" would match the
usual relation between show/set/unset rather more nicely than a new
command of its own.
> But there is a possible "gotcha". If you undefine a function that is
> called by another previously-defined function, bad things could happen.
None of those would be worse than the bad things already happening by
*) never defining a variable used by some function in the first place
*) never defining a function used by anther function in the first place
*) undefining a variable that was referenced by some function
*) never defining a variable used to set the value of another variable
*) never defining a function called to set the value of a variable
|