Arguments: input-filename &rest allargs &key force-compile
Compiles (with compile-file) input-filename if
All arguments acceptable to compile-file can also be specified to this function. input-filename must be a string naming a file or a pathname object identfying a file.
compile-file-if-needed returns what compile-file returns if a compilation is actually done (that is, it returns three values in that case). If no compilation is done, compile-file-if-needed returns the name of the compiled file as a single return value. To determined whether a compilation was in fact done, capture the returned values in a list (with, say, multiple-value-list) and see whether its length is 3 (compilation performed) or 1 (no compilation performed).
See compiling.htm for general information on compiling.
The documentation is described in introduction.htm and the index is in index.htm.
Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.
Created 2000.10.5.