- event-hook-set! PROCEDUREprocedure
Registers a hook that will be called periodically when Readline is waiting for terminal input. By default, this will be called at most ten times a second if there is no keyboard input. The argument should be a thunk. Its return value is ignored.
Only one event hook may be registered at a time. A previously-registered hook may be disabled by passing #f.