Page 1 of 1

reset command-event back to normal?

PostPosted: Fri May 08, 2015 6:14 pm
by iho
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

Re: reset command-event back to normal?

PostPosted: Fri May 08, 2015 8:21 pm
by Lutz
Just do a:

Code: Select all
(command-event nil)


to cancel it. Same with error-event, prompt-event, reader-event and xfer-event.

Re: reset command-event back to normal?

PostPosted: Wed May 13, 2015 3:30 pm
by iho
Thanks Lutz!