LispWorks detects attempts to define external symbols in certain packages. The packages are those on the list
*packages-for-warn-on-redefinition*
.
LispWorks is configured to protect the COMMON-LISP package and other system packages.
The action taken by LispWorks on such attempted definitions depends on the value of *handle-warn-on-redefinition*.