2 Customizing the Lisp Environment
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.
Generated with Harlequin WebMaker