results—the values returned by the method it calls.
call-next-method can be used
within the body forms (but not the lambda list)
of a method defined by a method-defining form to call the
If there is no next method, the generic function
no-next-method is called.
The type of method combination used determines which methods
call-next-method. The standard
method combination type allows
to be used within primary methods and around methods.
For generic functions using a type of method combination defined by
the short form of
call-next-method can be used in around methods only.
call-next-method is called with no arguments, it passes the
current method's original arguments to the next method. Neither
argument defaulting, nor using
setq, nor rebinding variables
with the same names as parameters of the method affects the values
call-next-method passes to the method it calls.
call-next-method is called with arguments, the
next method is called with those arguments.
call-next-method is called with arguments but omits
optional arguments, the next method called defaults those arguments.
call-next-method returns any values that are
returned by the next method.
call-next-method has lexical scope and
indefinite extent and can only be used within the body of a
method defined by a method-defining form.
Whether or not
call-next-method is fbound in the
global environment is implementation-dependent;
however, the restrictions on redefinition and shadowing of
call-next-method are the same as for symbols in the
which are fbound in the global environment.
The consequences of attempting to use
of a method-defining form are undefined.
When providing arguments to
the following rule must be satisfied or an error of type
the ordered set of applicable methods for a changed set of arguments
call-next-method must be the same as the ordered set of
applicable methods for the original arguments to the
Optimizations of the error checking are possible, but they must not change
the semantics of
define-method-combination, defmethod, next-method-p, no-next-method, call-method, Section 7.6.6 (Method Selection and Combination), Section 22.214.171.124 (Standard Method Combination), Section 126.96.36.199 (Built-in Method Combination Types)