aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorDmitry Antipov2014-06-05 10:24:54 +0400
committerDmitry Antipov2014-06-05 10:24:54 +0400
commitea633fff4c8e2e4a2b7f6117ba0a9d5a2685aecd (patch)
treed055b3ab685fea0ab59223f9dfcedd858576eccd /src/keyboard.c
parent0d46b5f12c2e87c1fb2d5f103f2012c2f03a7ba9 (diff)
downloademacs-ea633fff4c8e2e4a2b7f6117ba0a9d5a2685aecd.tar.gz
emacs-ea633fff4c8e2e4a2b7f6117ba0a9d5a2685aecd.zip
* configure.ac (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.
* nt/inc/ms-w32.h (POLL_FOR_INPUT): Likewise. * src/keyboard.c, src/process.c: Do not define POLL_FOR_INPUT here because it will be defined in generated config.h if needed.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 17bfc81b82f..80b1f521310 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -377,12 +377,6 @@ bool interrupt_input;
377/* Nonzero while interrupts are temporarily deferred during redisplay. */ 377/* Nonzero while interrupts are temporarily deferred during redisplay. */
378bool interrupts_deferred; 378bool interrupts_deferred;
379 379
380/* If we support a window system, turn on the code to poll periodically
381 to detect C-g. It isn't actually used when doing interrupt input. */
382#ifdef HAVE_WINDOW_SYSTEM
383#define POLL_FOR_INPUT
384#endif
385
386/* The time when Emacs started being idle. */ 380/* The time when Emacs started being idle. */
387 381
388static struct timespec timer_idleness_start_time; 382static struct timespec timer_idleness_start_time;