[Openmcl-devel] ccl:save-application with :init-file
R. Matthew Emerson
rme at clozure.com
Wed Nov 18 10:34:02 PST 2009
On Nov 16, 2009, at 12:54 PM, Andrei Stebakov wrote:
> I am using the latest ccl from http://svn.clozure.com/publicsvn/openmcl/trunk/linuxx86/ccl
> Looks like when i call ccl:save-application passing :init-file in addition to :toplevel-function, the :init-file argument gets ignored.
> I looked at the code and %save-application-internal uses init-file only in case toplevel-function was not specifed.
> This behavior isn't in the documentation. Is it something to be fixed?
At the moment, I think I'm inclined to regard this as a documentation bug. (And maybe SAVE-APPLICATION should complain when both :init-file and :toplevel-function are supplied.)
Your custom toplevel function could load whatever init file it wanted to.
More information about the Openmcl-devel
mailing list