All Manuals > LispWorks Delivery User Guide > 16 Delivery Reference Entries

NextPrevUpTopContentsIndex

deliver-keep-symbol-names

Function
Summary

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

Package

hcl

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


LispWorks Delivery User Guide - 10 Aug 2017

NextPrevUpTopContentsIndex