From 638322a4ac66df028a3cb92208a29f3ddd0438b2 Mon Sep 17 00:00:00 2001 From: Richard M. Stallman Date: Wed, 8 Jun 2005 15:16:31 +0000 Subject: (struct process): Conditionalize slots adaptive_read_buffering, read_output_delay and read_output_skip on ADAPTIVE_READ_BUFFERING. Delete command_channel_p. --- src/process.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/process.h') diff --git a/src/process.h b/src/process.h index 6e2641d6b06..5d5f9d5b616 100644 --- a/src/process.h +++ b/src/process.h @@ -52,8 +52,6 @@ struct Lisp_Process Lisp_Object buffer; /* Number of this process */ Lisp_Object pid; - /* Non-nil if this is really a command channel */ - Lisp_Object command_channel_p; /* t if this is a real child process. For a net connection, it is a plist based on the arguments to make-network-process. */ Lisp_Object childp; @@ -101,11 +99,12 @@ struct Lisp_Process generated, and can be changed by the function `set-process-fileter-multibyte'. */ Lisp_Object filter_multibyte; +#ifdef ADAPTIVE_READ_BUFFERING /* Should we delay reading output from this process. Initialized from `Vprocess_adaptive_read_buffering'. */ Lisp_Object adaptive_read_buffering; /* Hysteresis to try to read process output in larger blocks. - On some systems, e.g. the Linux kernel, emacs is seen as + On some systems, e.g. GNU/Linux, Emacs is seen as an interactive app also when reading process output, meaning that process output can be read in as little as 1 byte at a time. Value is micro-seconds to delay reading output from @@ -113,6 +112,7 @@ struct Lisp_Process Lisp_Object read_output_delay; /* Skip reading this process on next read. */ Lisp_Object read_output_skip; +#endif }; /* Every field in the preceding structure except for the first two -- cgit v1.2.1 From beac3988dff35004f271c2d603d5aeef4079f4dc Mon Sep 17 00:00:00 2001 From: Richard M. Stallman Date: Wed, 8 Jun 2005 15:28:27 +0000 Subject: Undo previous change. --- src/process.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/process.h') diff --git a/src/process.h b/src/process.h index 5d5f9d5b616..8e3f9028c0b 100644 --- a/src/process.h +++ b/src/process.h @@ -99,7 +99,6 @@ struct Lisp_Process generated, and can be changed by the function `set-process-fileter-multibyte'. */ Lisp_Object filter_multibyte; -#ifdef ADAPTIVE_READ_BUFFERING /* Should we delay reading output from this process. Initialized from `Vprocess_adaptive_read_buffering'. */ Lisp_Object adaptive_read_buffering; @@ -112,7 +111,6 @@ struct Lisp_Process Lisp_Object read_output_delay; /* Skip reading this process on next read. */ Lisp_Object read_output_skip; -#endif }; /* Every field in the preceding structure except for the first two -- cgit v1.2.1