$Revision: 5.0.2.4 $
Package: EXCL
Arguments: (fspec where &rest forms)
This macro allows advice to be defined in a format similar to a function definition (with defun).
fspec must name a function. It is typically a symbol but can be any function name, as in excl:advise. fspec is not evaluated.
where is either a symbol or a list. If it is a symbol, it can either be the name of
the advice or the class. If where is one of :before
, :around
,
or :after
, it is interpreted as the class. Any other symbol is interpreted as
a name. When where is a symbol, the position of the advice defaults to nil
.
When where defines the name, the class of the advice defaults to :after
.
When where is the class, the name of the advice defaults to nil
.
If where is a list, the first element (if there is one) is interpreted as the
name, the second element as the class, and the third element, if there is one, as the
position. If there is no second element, or the second element is nil
, the
class will be :after
.
Please refer to the definition of excl:advise for information on the interpretation and behavior of the class, name and position of advice. See advice.htm for general information on advice.
forms are Lisp forms which will be evaluated in a progn.
The general documentation description is in introduction.htm. The index in index.htm.
Copyright (C) 1998-1999, Franz Inc., Berkeley, CA. All Rights Reserved.