Lisp HUG Maillist Archive

quitting windows

Hi,

I am using the :confirm-destroy-function keyword to call a lisp 
function that confirms if the user wants to save the contents of a 
window to a file when closing the window. This works fine when 
closing windows by hand.

However, when quitting LW, this function is not called. Instead, LW 
just closes all windows without confirming should the existing 
windows be saved or not.

Is there a way to force this behavior (i.e. confirming whether to 
save or not) when LW quits?

I am using LispWorks for Macintosh 4.3.6 on Mac OS X 10.2.8.

Regards,

Mikael


Re: quitting windows

On Sat, 10 Jan 2004 16:43:28 +0200, Mikael Laurson <laurson@siba.fi> wrote:

> I am using the :confirm-destroy-function keyword to call a lisp
> function that confirms if the user wants to save the contents of a
> window to a file when closing the window. This works fine when
> closing windows by hand.
>
> However, when quitting LW, this function is not called. Instead, LW
> just closes all windows without confirming should the existing
> windows be saved or not.
>
> Is there a way to force this behavior (i.e. confirming whether to
> save or not) when LW quits?

Did you try the :DESTROY-CALLBACK initarg?

Cheers,
Edi.


Re: quitting windows

Unable to parse email body. Email id is 1763

Updated at: 2020-12-10 08:58 UTC