2 Customizing the Lisp Environment

2.1 Controlling startup

Whenever you invoke Liquid Common Lisp, an initialization process sets up the Lisp environment before the top-level prompt appears. The steps of the initialization process occur in the following order:

1. If you have invoked a saved Lisp image, Lisp calls any function that you specified as the:restart-function keyword argument to the functiondisksave when the image was saved.

2. Lisp prints out the banner.

3. If the variable*enter-top-level-hook* is bound to a function or to a symbol that names a function, Lisp calls that function; otherwise, Lisp calls the default startup function.

4. Lisp enters the top-level read-eval-print loop and displays the prompt.

If you want control over startup and command-line processing, you can bind a function to*enter-top-level-hook* or supply an argument to the:restart-function keyword todisksave before you save the image. See the reference pages for *enter-top-level-hook* and disksave for more information.

The Advanced User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker