diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/src/process.c b/src/process.c index 0c8d0cab6d0..80d149347a5 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -121,9 +121,6 @@ Lisp_Object QCname, QCtype; | |||
| 121 | 121 | ||
| 122 | static int kbd_is_on_hold; | 122 | static int kbd_is_on_hold; |
| 123 | 123 | ||
| 124 | /* Nonzero means delete a process right away if it exits. */ | ||
| 125 | static int delete_exited_processes; | ||
| 126 | |||
| 127 | /* Nonzero means don't run process sentinels. This is used | 124 | /* Nonzero means don't run process sentinels. This is used |
| 128 | when exiting. */ | 125 | when exiting. */ |
| 129 | int inhibit_sentinels; | 126 | int inhibit_sentinels; |
| @@ -175,10 +172,6 @@ extern void serial_configure (struct Lisp_Process *p, Lisp_Object contact); | |||
| 175 | extern int h_errno; | 172 | extern int h_errno; |
| 176 | #endif | 173 | #endif |
| 177 | 174 | ||
| 178 | /* t means use pty, nil means use a pipe, | ||
| 179 | maybe other values to come. */ | ||
| 180 | static Lisp_Object Vprocess_connection_type; | ||
| 181 | |||
| 182 | /* These next two vars are non-static since sysdep.c uses them in the | 175 | /* These next two vars are non-static since sysdep.c uses them in the |
| 183 | emulation of `select'. */ | 176 | emulation of `select'. */ |
| 184 | /* Number of events of change of status of a process. */ | 177 | /* Number of events of change of status of a process. */ |
| @@ -247,11 +240,6 @@ static int process_output_delay_count; | |||
| 247 | 240 | ||
| 248 | static int process_output_skip; | 241 | static int process_output_skip; |
| 249 | 242 | ||
| 250 | /* Non-nil means to delay reading process output to improve buffering. | ||
| 251 | A value of t means that delay is reset after each send, any other | ||
| 252 | non-nil value does not reset the delay. A value of nil disables | ||
| 253 | adaptive read buffering completely. */ | ||
| 254 | static Lisp_Object Vprocess_adaptive_read_buffering; | ||
| 255 | #else | 243 | #else |
| 256 | #define process_output_delay_count 0 | 244 | #define process_output_delay_count 0 |
| 257 | #endif | 245 | #endif |
| @@ -7642,14 +7630,14 @@ syms_of_process (void) | |||
| 7642 | Qargs = intern_c_string ("args"); | 7630 | Qargs = intern_c_string ("args"); |
| 7643 | staticpro (&Qargs); | 7631 | staticpro (&Qargs); |
| 7644 | 7632 | ||
| 7645 | DEFVAR_BOOL ("delete-exited-processes", &delete_exited_processes, | 7633 | DEFVAR_BOOL ("delete-exited-processes", delete_exited_processes, |
| 7646 | doc: /* *Non-nil means delete processes immediately when they exit. | 7634 | doc: /* *Non-nil means delete processes immediately when they exit. |
| 7647 | A value of nil means don't delete them until `list-processes' is run. */); | 7635 | A value of nil means don't delete them until `list-processes' is run. */); |
| 7648 | 7636 | ||
| 7649 | delete_exited_processes = 1; | 7637 | delete_exited_processes = 1; |
| 7650 | 7638 | ||
| 7651 | #ifdef subprocesses | 7639 | #ifdef subprocesses |
| 7652 | DEFVAR_LISP ("process-connection-type", &Vprocess_connection_type, | 7640 | DEFVAR_LISP ("process-connection-type", Vprocess_connection_type, |
| 7653 | doc: /* Control type of device used to communicate with subprocesses. | 7641 | doc: /* Control type of device used to communicate with subprocesses. |
| 7654 | Values are nil to use a pipe, or t or `pty' to use a pty. | 7642 | Values are nil to use a pipe, or t or `pty' to use a pty. |
| 7655 | The value has no effect if the system has no ptys or if all ptys are busy: | 7643 | The value has no effect if the system has no ptys or if all ptys are busy: |
| @@ -7658,7 +7646,7 @@ The value takes effect when `start-process' is called. */); | |||
| 7658 | Vprocess_connection_type = Qt; | 7646 | Vprocess_connection_type = Qt; |
| 7659 | 7647 | ||
| 7660 | #ifdef ADAPTIVE_READ_BUFFERING | 7648 | #ifdef ADAPTIVE_READ_BUFFERING |
| 7661 | DEFVAR_LISP ("process-adaptive-read-buffering", &Vprocess_adaptive_read_buffering, | 7649 | DEFVAR_LISP ("process-adaptive-read-buffering", Vprocess_adaptive_read_buffering, |
| 7662 | doc: /* If non-nil, improve receive buffering by delaying after short reads. | 7650 | doc: /* If non-nil, improve receive buffering by delaying after short reads. |
| 7663 | On some systems, when Emacs reads the output from a subprocess, the output data | 7651 | On some systems, when Emacs reads the output from a subprocess, the output data |
| 7664 | is read in very small blocks, potentially resulting in very poor performance. | 7652 | is read in very small blocks, potentially resulting in very poor performance. |