This method allows finding or setting the documentation string when you know the dspec. See the
LispWorks User Guide
for an introduction to dspecs.

dspec
must be a dspec, but it can be non-canonical. This method canonicalizes
dspec
and then calls documentation with the name as the first argument and the appropriate dspec class name as the second, thereby calling a standard
documentation
method.

If you define your own type of definitions (
def-saved-value
for example) with define-dspec-class you can add methods on
documentation
for your dspec class:

(documentation (
dspec
t) (
doc-type
(eql '
def-saved-value
))

This allows LispWorks IDE commands such as
Expression > Documentation
to display the documentation.