diff options
author | Stefan Monnier <[email protected]> | 2001-10-12 03:37:43 +0000 |
---|---|---|
committer | Stefan Monnier <[email protected]> | 2001-10-12 03:37:43 +0000 |
commit | c0ec53ad99ba41fca0f34440c232c8ad203f4259 (patch) | |
tree | cad8633f767ceaed67cf3788e59e21c344ea695d /src/process.c | |
parent | b81a1b72a82185bc426d31f914a5d3d7fee14c4e (diff) |
Update calls to openp.
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index 474b21f247..d9eab3f097 100644 --- a/src/process.c +++ b/src/process.c @@ -1196,7 +1196,7 @@ Remaining arguments are strings to give program as arguments.") tem = Qnil; GCPRO4 (name, program, buffer, current_dir); - openp (Vexec_path, program, EXEC_SUFFIXES, &tem, 1); + openp (Vexec_path, program, Vexec_suffixes, &tem, 1); UNGCPRO; if (NILP (tem)) report_file_error ("Searching for program", Fcons (program, Qnil)); @@ -3386,8 +3386,8 @@ send_process (proc, buf, len, object) Long lines need to be split into multiple batches. */ if (!NILP (XPROCESS (proc)->pty_flag)) { - /* Starting this at zero is always correct when not the first iteration - because the previous iteration ended by sending C-d. + /* Starting this at zero is always correct when not the first + iteration because the previous iteration ended by sending C-d. It may not be correct for the first iteration if a partial line was sent in a separate send_process call. If that proves worth handling, we need to save linepos |