aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2014-07-26 06:17:25 -0700
committerPaul Eggert2014-07-26 06:17:25 -0700
commit9e9f8582a893f1e97b1f8955f69b96f969ee1f85 (patch)
treeef8b4c36f8b88d1273572b8140a8651854b65e6b /src/process.c
parent54e3f15626296c1ece932852df2b3d4938b0b44a (diff)
downloademacs-9e9f8582a893f1e97b1f8955f69b96f969ee1f85.tar.gz
emacs-9e9f8582a893f1e97b1f8955f69b96f969ee1f85.zip
Revert previous change.
There is certainly nothing wrong with writing code like 'lo <= i && i <= hi', even if LO happens to a constant. There isn't even anything wrong in general with writing 'a <= b' if A happens to be a constant. At any rate stylistic changes shouldn't be done like this without discussion.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index ab30698b9e8..4449493a2b6 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4303,7 +4303,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
4303 time_limit = 0; 4303 time_limit = 0;
4304 nsecs = -1; 4304 nsecs = -1;
4305 } 4305 }
4306 else if (time_limit > TYPE_MAXIMUM (time_t)) 4306 else if (TYPE_MAXIMUM (time_t) < time_limit)
4307 time_limit = TYPE_MAXIMUM (time_t); 4307 time_limit = TYPE_MAXIMUM (time_t);
4308 4308
4309 /* Since we may need to wait several times, 4309 /* Since we may need to wait several times,
@@ -4580,7 +4580,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
4580 continue; 4580 continue;
4581 FD_CLR (channel, &Available); 4581 FD_CLR (channel, &Available);
4582 XPROCESS (proc)->read_output_skip = 0; 4582 XPROCESS (proc)->read_output_skip = 0;
4583 if (nsecs > XPROCESS (proc)->read_output_delay) 4583 if (XPROCESS (proc)->read_output_delay < nsecs)
4584 nsecs = XPROCESS (proc)->read_output_delay; 4584 nsecs = XPROCESS (proc)->read_output_delay;
4585 } 4585 }
4586 } 4586 }
@@ -4696,7 +4696,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
4696 if (timers_run != old_timers_run 4696 if (timers_run != old_timers_run
4697 && waiting_for_user_input_p == -1 4697 && waiting_for_user_input_p == -1
4698 && (old_buffer != current_buffer 4698 && (old_buffer != current_buffer
4699 || !EQ (old_window, selected_window))) 4699 || !EQ (old_window, selected_window)))
4700 record_asynch_buffer_change (); 4700 record_asynch_buffer_change ();
4701 4701
4702 if (leave) 4702 if (leave)