aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2016-12-22 10:13:46 -0800
committerPaul Eggert2016-12-22 10:14:11 -0800
commit73349822cbd6e50526eda9c75453584d73dfca83 (patch)
tree444c07a3fbaaf3b2b02e1a08a18bad5bab7bbef0 /src/process.c
parentb10bd71987cdeb753c106145d6270a359505359c (diff)
downloademacs-73349822cbd6e50526eda9c75453584d73dfca83.tar.gz
emacs-73349822cbd6e50526eda9c75453584d73dfca83.zip
; Spelling fixes
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/process.c b/src/process.c
index 9139a36d4fd..c5a46f992d7 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4557,23 +4557,22 @@ from PROCESS only, suspending reading output from other processes.
4557If JUST-THIS-ONE is an integer, don't run any timers either. 4557If JUST-THIS-ONE is an integer, don't run any timers either.
4558Return non-nil if we received any output from PROCESS (or, if PROCESS 4558Return non-nil if we received any output from PROCESS (or, if PROCESS
4559is nil, from any process) before the timeout expired. */) 4559is nil, from any process) before the timeout expired. */)
4560 (register Lisp_Object process, Lisp_Object seconds, Lisp_Object millisec, Lisp_Object just_this_one) 4560 (Lisp_Object process, Lisp_Object seconds, Lisp_Object millisec,
4561 Lisp_Object just_this_one)
4561{ 4562{
4562 intmax_t secs; 4563 intmax_t secs;
4563 int nsecs; 4564 int nsecs;
4564 4565
4565 if (! NILP (process)) 4566 if (! NILP (process))
4566 { 4567 {
4567 struct Lisp_Process *procp;
4568
4569 CHECK_PROCESS (process); 4568 CHECK_PROCESS (process);
4570 procp = XPROCESS (process); 4569 struct Lisp_Process *proc = XPROCESS (process);
4571 4570
4572 /* Can't wait for a process that is dedicated to a different 4571 /* Can't wait for a process that is dedicated to a different
4573 thread. */ 4572 thread. */
4574 if (!EQ (procp->thread, Qnil) && !EQ (procp->thread, Fcurrent_thread ())) 4573 if (!EQ (proc->thread, Qnil) && !EQ (proc->thread, Fcurrent_thread ()))
4575 error ("Attempt to accept output from process %s locked to thread %s", 4574 error ("Attempt to accept output from process %s locked to thread %s",
4576 SDATA (procp->name), SDATA (XTHREAD (procp->thread)->name)); 4575 SDATA (proc->name), SDATA (XTHREAD (proc->thread)->name));
4577 } 4576 }
4578 else 4577 else
4579 just_this_one = Qnil; 4578 just_this_one = Qnil;