NextPrevUpTopContentsIndex

record-definition

Function
Summary

Checks for existing definitions and records a new definition.

Package

dspec

Signature

record-definition dspec location &key check-redefinition-p => resuit

Arguments

dspec

A dspec.

location

A pathname or keyword.

check-redefinition-p

A boolean.

Values

result

A generalised boolean.

Description

The function record-definition tells the system that dspec is defined at location .

The system 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 acording 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.

Compatibility note

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.

See also

*redefinition-action*
location


LispWorks Reference Manual - 23 Jul 2004

NextPrevUpTopContentsIndex