All Manuals > Delivery User Guide > 16 Delivery Reference Entries

deliver-keep-symbols Function

Summary

Causes symbols and their names to be retained.

Package

lispworks

Signature

deliver-keep-symbols &rest symbols

Arguments
symbols
Symbols.
Description

The function deliver-keep-symbols marks each symbol in symbols such that they are not shaken out during delivery, and their names are kept.

This is useful for symbols that are not explicitly referenced by Lisp (and hence may be shaken out) but are still needed, for example symbols that are called directly from Java.

Using deliver-keep-symbols has the same effect as passing :keep-symbols to deliver, but deliver-keep-symbols is much more convenient because you can use it in your source code before loading the delivery module.

You will typically add a call to deliver-keep-symbols after the definition(s) of the symbols, as in the example below.

Examples
(defun function-called-directly-from-java (x y)
  .....
  )
 
(deliver-keep-symbols
 'function-called-directly-from-java)
See also

deliver-keep-symbol-names
:keep-symbols


Delivery User Guide - 01 Dec 2021 19:35:07