[imp-hackers] cl-ext:exit

Sam Steingold sds at gnu.org
Thu Jul 2 14:32:16 UTC 2009


On Thu, Jul 2, 2009 at 2:32 AM, Juan Jose
Garcia-Ripoll<juanjose.garciaripoll at googlemail.com> wrote:
> Could we introduce also the notion of "finalizers" or things to be
> done before exiting, perhaps in the form of a special variable with a
> list of handlers? QUIT then would have to take an additional option,
> deciding whether to honor or not those handlers.

http://clisp.podval.org/impnotes/custom-init-fini.html#fini-hooks

31.1.3. Customizing Termination

CUSTOM:*FINI-HOOKS* is run like this:

(MAPC #'FUNCALL CUSTOM:*FINI-HOOKS*)



-- 
Sam Steingold <http://sds.podval.org>




More information about the implementation-hackers mailing list