dspec ::= fn-name | macro-name |
( clos::method generic-fn-name [( class *)])
Specifies the functional definition to which the piece of advice belongs. The specification contains the name of the associated function. In the case of a method the list of classes is used to identify from which particular method the advice should come. This list must correspond exactly with the classes corresponding to the specialized parameters for some method belonging to the generic function.
A symbol naming the piece of advice to be removed. Since several pieces of advice may be attached to a single functional definition, the name is necessary to indicate which one is to be removed.
is used to remove a piece of advice. Advice is a way of altering the behavior of functions. Pieces of advice are associated with a function using defadvice. They define additional actions to be performed when the function is invoked, or alternative code to be performed instead of the function, which may or may not access the original definition. As well as being attached to ordinary functions, advice may be attached to methods and to macros (in this case it is in fact associated with the macro's expansion function).
remove-advice is a function, identical in effect to
, except that you need to quote the arguments.
LispWorks User Guide and Reference Manual - 21 Dec 2011