newLISP Fan Club

Forum => newLISP in the real world => Topic started by: iho on May 08, 2015, 11:14:04 AM

Title: reset command-event back to normal?
Post by: iho on May 08, 2015, 11:14:04 AM
Hi,



is it possible to reset command-event to normal, after having installed a special handler?

I have tried to reset it by setting it back to an fn which just returns a string, but I get a SIGSEGV if I do it.



Kind regards,



Ingo
Title: Re: reset command-event back to normal?
Post by: Lutz on May 08, 2015, 01:21:24 PM
Just do a:



(command-event nil)


to cancel it. Same with error-event, prompt-event, reader-event and xfer-event.
Title: Re: reset command-event back to normal?
Post by: iho on May 13, 2015, 08:30:13 AM
Thanks Lutz!