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/process.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/process.c')
| -rw-r--r-- | src/process.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/process.c b/src/process.c index 9321cdc4875..7f9b5ac59d1 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -286,12 +286,6 @@ static int read_process_output (Lisp_Object, int); | |||
| 286 | static void handle_child_signal (int); | 286 | static void handle_child_signal (int); |
| 287 | static void create_pty (Lisp_Object); | 287 | static void create_pty (Lisp_Object); |
| 288 | 288 | ||
| 289 | /* If we support a window system, turn on the code to poll periodically | ||
| 290 | to detect C-g. It isn't actually used when doing interrupt input. */ | ||
| 291 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 292 | #define POLL_FOR_INPUT | ||
| 293 | #endif | ||
| 294 | |||
| 295 | static Lisp_Object get_process (register Lisp_Object name); | 289 | static Lisp_Object get_process (register Lisp_Object name); |
| 296 | static void exec_sentinel (Lisp_Object proc, Lisp_Object reason); | 290 | static void exec_sentinel (Lisp_Object proc, Lisp_Object reason); |
| 297 | 291 | ||