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

NextPrevUpTopContentsIndex

set-quit-when-no-windows

Function
Summary

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

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 runtime 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 in the LispWorks Delivery User Guide


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex