reset command-event back to normal?

Q&A's, tips, howto's
Locked
iho
Posts: 4
Joined: Mon Apr 13, 2015 1:22 pm

reset command-event back to normal?

Post 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

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: reset command-event back to normal?

Post 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.

iho
Posts: 4
Joined: Mon Apr 13, 2015 1:22 pm

Re: reset command-event back to normal?

Post by iho »

Thanks Lutz!

Locked