All Manuals > Delivery User Guide > 16 Delivery Reference Entries

deliver-keep-symbol-names Function

Summary

Causes specified symbol names to be retained if the symbols are retained.

Package

lispworks

Signature

deliver-keep-symbol-names &rest symbols

Arguments
symbols
Symbols.
Description

The function deliver-keep-symbol-names marks the symbols symbols such that their names are kept if the symbols themselves are not shaken out. This is useful when the symbol name is used as long the symbol is used. For example, you may have a function that calls error, passing its name (the symbol) to be included in the error message. If the symbol is not referenced by the actual application, it will be shaken out and there is no issue, but if it is referenced, you still want the message to print the name properly. For example the import interface of Java, which generates many callers and there is a good chance that many of them will not be used, marks these callers to keep the symbol names.

Notes

If you want to ensure that the symbol is kept even if it is not referenced, use deliver-keep-symbols.

See also

deliver-keep-symbols
:keep-symbol-names


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