diff options
| author | Dmitry Antipov | 2014-06-05 10:24:54 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-06-05 10:24:54 +0400 |
| commit | ea633fff4c8e2e4a2b7f6117ba0a9d5a2685aecd (patch) | |
| tree | d055b3ab685fea0ab59223f9dfcedd858576eccd /src/keyboard.c | |
| parent | 0d46b5f12c2e87c1fb2d5f103f2012c2f03a7ba9 (diff) | |
| download | emacs-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.c | 6 |
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. */ |
| 378 | bool interrupts_deferred; | 378 | bool 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 | ||
| 388 | static struct timespec timer_idleness_start_time; | 382 | static struct timespec timer_idleness_start_time; |