All Manuals > CAPI User Guide > 8 Modifying CAPI Windows


8.9 Quitting applications

To make an application quit when one of its CAPI windows is closed, make that window's destroy-function call quit .

To arrange for a delivered CAPI application to quit automatically when all of its CAPI windows are closed, call deliver with :quit-when-no-windows t .


CAPI User Guide (Macintosh version) - 30 Aug 2011