NextPrevUpTopContentsIndex

7.5 Advice functions and macros

The main functions used for advice are introduced below. See the LispWorks Reference Manual for full details.

The main macro used to define new pieces of advice is defadvice .

Pieces of around advice should use the macro call-next-advice to invoke the next piece of advice. As explained earlier this either calls the next piece of around advice (if one exists), or calls the combination of before advice, the original definition, and after advice. It may only be called from within the body of the around advice.

To remove a piece of advice, use the macro delete-advice or the function remove-advice .

 


LispWorks User Guide - 11 Mar 2008

NextPrevUpTopContentsIndex