When LispWorks starts up, it looks for an initialization file to load. The name of the file is held in
, and is
by default. The '
' denotes your home directory, indicated as
in the Finder. The initialization file may contain any valid Lisp code.
You can load a different initialization file using the option
in the command line, for example:
% "/Applications/LispWorks 5.1/LispWorks.app/Contents/MacOS/lispworks-5-1-0-macos-universal" -init my-lisp-init
denotes the Unix shell prompt) would make LispWorks load
as the initialization file instead of that named by
The loading of the siteinit file (located by default at
) is similarly controlled by the
command line argument or
You can start an image without loading any personal or site initialization file by passing a hyphen to the
arguments instead of a filename:
% "/Applications/LispWorks 5.1/LispWorks.app/Contents/MacOS/lispworks-5-1-0-macos-universal" -init - -siteinit -
This starts the LispWorks image without loading any initialization file. It is often useful to start the image in this way when trying to repeat a suspected bug. You should always start the image without the default initialization files if you are intending to resave it.
In all cases, if the filename is present, and is not a hyphen, LispWorks tries to load it as a normal file by calling
. If the load fails, LispWorks prints an error report.