The function
record-definition
tells the system that
dspec
is defined at
location
.
The system-provided definer macros call the function
record-definition
with the current location.
location should be a pathname or keyword as returned by location.
When
check-redefinition-p
is true, it checks for existing definitions and reports these according to the value of *redefinition-action*. The default value of
check-redefinition-p
is
t
.
If the definition is made, then
result
is true. If the definition is not made then
result
is
nil
. This can happen if you choose the
"Don't redefine ..."
restart at a redefinition error.
Note: You should not usually call
record-definition
, since all the system-provided definers call it. However, for new classes of definition which you add with define-dspec-class, you should call
record-definition
for dspecs in their new classes.
record-definition
was documented in the
lispworks
package in LispWorks 4.3 and earlier. Although it is currently still available there, this may change in future releases and you should now reference it via the
dspec
package.