From: Richard M. Stallman Date: Wed, 8 Jun 2005 15:16:31 +0000 (+0000) Subject: (struct process): Conditionalize slots adaptive_read_buffering, X-Git-Tag: emacs-pretest-22.0.90~9208 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=638322a4ac66df028a3cb92208a29f3ddd0438b2;p=emacs.git (struct process): Conditionalize slots adaptive_read_buffering, read_output_delay and read_output_skip on ADAPTIVE_READ_BUFFERING. Delete command_channel_p. --- 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