All Manuals > LispWorks® User Guide and Reference Manual > 38 The LISPWORKS Package

set-quit-when-no-windows Function

Summary

Overrides the :quit-when-no-windows keyword argument to deliver.

Package

lispworks

Signature

set-quit-when-no-windows on

Arguments
on
nil, t or the keyword :check.
Description

The function set-quit-when-no-windows can be used at run time in a delivered application to override the value of the :quit-when-no-windows keyword to deliver. This can be useful if the application runs in various modes, some with windows and some without. It has no effect in a non-delivered application.

If on is nil, then the application will not quit merely because there are no remaining open windows.

If on is t, then the application will quit when there are no remaining open windows after the application has opened at least one CAPI window.

If on is :check, then the application will quit immediately if there are no open windows at the current time. Unlike with :quit-when-no-windows t, this occurs even if the application has not opened any CAPI windows so far. If there are open windows currently, then it turns on quitting like when on is t.

See also

:quit-when-no-windows keyword in the LispWorks® User Guide and Reference Manual


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41