All Manuals > LispWorks Delivery User Guide > 5 Keywords to the Delivery Function > 5.2 Alphabetical list of deliver keywords

NextPrevUpTopContentsIndex

:keep-load-function

Keyword

Default value:

(when (or (delivery-value :keep-debug-mode)
          (delivery-value :keep-modules)
          (<= *delivery-level* 2))
  :full)

If this is nil, the load function is deleted. Runtime loading is no longer possible when this is done, whether or not require is being used.

It can take two non-nil values:

t

Keeps the loading code required to load data files.

:full

Keeps the code as for t, plus those internal functions that are required for loading Lisp code. Note that if the Lisp code uses functions that are shaken, these functions must be explicitly kept.

Note: In most cases you need to keep the COMMON-LISP (CL) package if files might be loaded into your application, and probably some other packages too. (See :packages-to-keep.)


LispWorks Delivery User Guide - 15 Feb 2015

NextPrevUpTopContentsIndex