Specifies the action on some redefinitions.
dspec
:warn
The variable *redefinition-action*
controls messages about redefinitions seen by the source location system.
If *redefinition-action*
is set to :warn
then you are warned. If it is set to :quiet
or nil
, the redefinition is done quietly. If, however, it is set to :error
, then LispWorks signals an error.
These messages are triggered by defining forms provided, but they could also be from any call to record-definition.
*redefinition-action*
does not affect the behavior of cl:defstruct.
*redefinition-action*
is documented in the lispworks
package in LispWorks 4.3 and earlier. It is still currently still available there but this may change in future releases and you should now reference it via the dspec
package.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:33