Index: doc/mixin.man.inc =================================================================== diff -u -rd6e5661d520977831094caa5d2c8a5567567ecc3 -r2eb328e4d7f6cb4f21144efdb08c87742d0a44f5 --- doc/mixin.man.inc (.../mixin.man.inc) (revision d6e5661d520977831094caa5d2c8a5567567ecc3) +++ doc/mixin.man.inc (.../mixin.man.inc) (revision 2eb328e4d7f6cb4f21144efdb08c87742d0a44f5) @@ -20,8 +20,7 @@ [cmd expr] when [arg obj] receives a message to determine if the mixin is to be considered during method dispatch or not. Guard expressions allow for realizing context-dependent or conditional mixin -composition. If [arg mixinSpecList] represents an empty list, any -existing [term "mixin class"] will be removed from [arg obj]. +composition. [def "[arg obj] [const [vset SCOPE]] [method {mixin get}]"] Returns the current list of [term "mixin class"]es. @@ -32,6 +31,11 @@ [def "[arg obj] [const [vset SCOPE]] [method {mixin delete}] [option -nocomplain] [arg specPattern]"] Removes a [term "mixin class"] from a current list of [term "mixin class"]es of [arg obj] whose spec matches [arg specPattern]. [arg specPattern] can contain special matching chars (see [cmd "string match"]). [const [vset SCOPE]] [method "mixin delete"] will throw an error if there is no matching [term "mixin class"], unless [option -nocomplain] is set. +[def "[arg obj] [const [vset SCOPE]] [method {mixin unset}]"] +Removes all [term "mixin class"]es from [arg obj]. This is equivalent +to passing an empty list for [arg mixinSpecList] to +[const [vset SCOPE]] [method {mixin set}]. + [def "[arg obj] [const [vset SCOPE]] [method {mixin guard}] [arg className] [arg expr]"] Registers a guard expression [arg expr] with the [term "mixin class"] [arg className]