From: Stas B. <sta...@gm...> - 2017-01-30 17:50:21
|
I'm not sure what you're doing, but that works as expected, *package* is #<PACKAGE "TEST"> Are you sure you're starting up the right executable? On Mon, Jan 30, 2017 at 5:35 PM, Nicolas Neuss <ne...@ma...> wrote: > Dear SBCL gurus, > > when I restart SBCL with a core saved with SAVE-LISP-AND-DIE I observe > that the value of *PACKAGE* is the COMMON-LISP-USER package. > > I would like *PACKAGE* to be some package of mine instead. I tried > > * (defpackage "TEST" (:use "CL")) > * (in-package :test) > * (sb-ext:save-lisp-and-die "test-core" :purify t :executable t :toplevel > (lambda () > (in-package :test) > (sb-impl::toplevel-init))) > > Unfortunately, this simple solution does not work. > > Thank you for any help, > > Nicolas > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Sbcl-help mailing list > Sbc...@li... > https://lists.sourceforge.net/lists/listinfo/sbcl-help > -- With best regards, Stas. |