2.1 Starting up Lisp

2.1.4 Customizing the Lisp environment

You can customize your Lisp environment by creating a file of expressions to be evaluated before the top-level prompt is displayed. This file should be created on your home directory and named"lisp-init.lisp" or"lisp-init.xbin"; the extension.xbin differs for each supported platform and indicates a binary file, one that has been compiled from the source.lisp file. Table 2.1 shows the binary file extensions for each supported platform.

Binary File Extensions
PlatformMachine TypeExtension
HPSeries 300.6bin
 Series 800.hbin
RS6000 .rbin
SGI .mbin
SunOS/SolarisSun-3.lbin
 Sun-4.sbin

For more information about initialization files, see Chapter 2, "Customizing the Lisp Environment" in The Advanced User's Guide.

When you start Lisp, by default your home directory is searched for a file named"lisp-init.xbin" and then for a file named"lisp-init.lisp".

If the specified file is located, it is loaded according to the conventions established by the functionload. See Chapter 7, "Additional Extensions to Common Lisp" in The Advanced User's Guide for a description of the behavior ofload and for information about how to change that behavior.


The User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker