aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.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/process.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/process.c')
-rw-r--r--src/process.c6
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);
286static void handle_child_signal (int); 286static void handle_child_signal (int);
287static void create_pty (Lisp_Object); 287static 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
295static Lisp_Object get_process (register Lisp_Object name); 289static Lisp_Object get_process (register Lisp_Object name);
296static void exec_sentinel (Lisp_Object proc, Lisp_Object reason); 290static void exec_sentinel (Lisp_Object proc, Lisp_Object reason);
297 291