aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/process.c b/src/process.c
index 6749ebda117..37181158a19 100644
--- a/src/process.c
+++ b/src/process.c
@@ -739,9 +739,9 @@ BUFFER may be a buffer or the name of one. */)
739 buf = Fget_buffer (buffer); 739 buf = Fget_buffer (buffer);
740 if (NILP (buf)) return Qnil; 740 if (NILP (buf)) return Qnil;
741 741
742 for (tail = Vprocess_alist; !NILP (tail); tail = Fcdr (tail)) 742 for (tail = Vprocess_alist; CONSP (tail); tail = XCDR (tail))
743 { 743 {
744 proc = Fcdr (Fcar (tail)); 744 proc = Fcdr (XCAR (tail));
745 if (PROCESSP (proc) && EQ (XPROCESS (proc)->buffer, buf)) 745 if (PROCESSP (proc) && EQ (XPROCESS (proc)->buffer, buf))
746 return proc; 746 return proc;
747 } 747 }
@@ -1345,11 +1345,11 @@ list_processes_1 (query_only)
1345 w_buffer = 6; /* Buffer */ 1345 w_buffer = 6; /* Buffer */
1346 w_tty = 0; /* Omit if no ttys */ 1346 w_tty = 0; /* Omit if no ttys */
1347 1347
1348 for (tail = Vprocess_alist; !NILP (tail); tail = Fcdr (tail)) 1348 for (tail = Vprocess_alist; CONSP (tail); tail = XCDR (tail))
1349 { 1349 {
1350 int i; 1350 int i;
1351 1351
1352 proc = Fcdr (Fcar (tail)); 1352 proc = Fcdr (XCAR (tail));
1353 p = XPROCESS (proc); 1353 p = XPROCESS (proc);
1354 if (NILP (p->childp)) 1354 if (NILP (p->childp))
1355 continue; 1355 continue;
@@ -1408,11 +1408,11 @@ list_processes_1 (query_only)
1408 Findent_to (i_command, minspace); write_string ("-------", -1); 1408 Findent_to (i_command, minspace); write_string ("-------", -1);
1409 write_string ("\n", -1); 1409 write_string ("\n", -1);
1410 1410
1411 for (tail = Vprocess_alist; !NILP (tail); tail = Fcdr (tail)) 1411 for (tail = Vprocess_alist; CONSP (tail); tail = XCDR (tail))
1412 { 1412 {
1413 Lisp_Object symbol; 1413 Lisp_Object symbol;
1414 1414
1415 proc = Fcdr (Fcar (tail)); 1415 proc = Fcdr (XCAR (tail));
1416 p = XPROCESS (proc); 1416 p = XPROCESS (proc);
1417 if (NILP (p->childp)) 1417 if (NILP (p->childp))
1418 continue; 1418 continue;
@@ -6799,12 +6799,12 @@ status_notify (deleting_process)
6799 that we run, we get called again to handle their status changes. */ 6799 that we run, we get called again to handle their status changes. */
6800 update_tick = process_tick; 6800 update_tick = process_tick;
6801 6801
6802 for (tail = Vprocess_alist; !NILP (tail); tail = Fcdr (tail)) 6802 for (tail = Vprocess_alist; CONSP (tail); tail = XCDR (tail))
6803 { 6803 {
6804 Lisp_Object symbol; 6804 Lisp_Object symbol;
6805 register struct Lisp_Process *p; 6805 register struct Lisp_Process *p;
6806 6806
6807 proc = Fcdr (Fcar (tail)); 6807 proc = Fcdr (XCAR (tail));
6808 p = XPROCESS (proc); 6808 p = XPROCESS (proc);
6809 6809
6810 if (p->tick != p->update_tick) 6810 if (p->tick != p->update_tick)