All Manuals > LispWorks User Guide and Reference Manual > 6 The Advice Facility

NextPrevUpTopContentsIndex

6.6 Advice functions and macros

The main functions used for advice are introduced below. See the reference pages for full details.

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

Pieces of around advice should use 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 and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex