Commit fe8aeef3 authored by Richard M. Stallman's avatar Richard M. Stallman

(set_poll_suppress_count): New function.

parent 1cdc3155
......@@ -1258,6 +1258,27 @@ stop_polling ()
}
#endif
}
/* Set the value of poll_suppress_count to COUNT
and start or stop polling accordingly. */
void
set_poll_suppress_count (count)
int count;
{
#ifdef POLL_FOR_INPUT
if (count == 0 && poll_suppress_count != 0)
{
poll_suppress_count = 1;
start_polling ();
}
else if (count != 0 && poll_suppress_count == 0)
{
stop_polling ();
}
poll_suppress_count = count;
#endif
}
/* Applying the control modifier to CHARACTER. */
int
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment