Variable: polling-period

polling-period is a customizable variable defined in keyboard.c.

Value

2

Documentation

Interval between polling for input during Lisp execution.

The reason for polling is to make C-g work to stop a running program. Polling is needed only when using X windows and SIGIO does not work. Polling is automatically disabled in all other cases.

Source Code

// Defined in /usr/src/emacs/src/keyboard.c
  DEFVAR_INT ("polling-period", polling_period,
	      doc: /* Interval between polling for input during Lisp execution.
The reason for polling is to make C-g work to stop a running program.
Polling is needed only when using X windows and SIGIO does not work.
Polling is automatically disabled in all other cases.  */);