Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ef5eb925
Commit
ef5eb925
authored
Apr 09, 2008
by
Jan Djärv
Browse files
(wait_reading_process_output): If SYNC_INPUT and pending_atimers, run atimers.
parent
cb5c5b3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
src/ChangeLog
src/ChangeLog
+11
-0
src/process.c
src/process.c
+7
-2
No files found.
src/ChangeLog
View file @
ef5eb925
2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
* atimer.c (alarm_signal_handler): Call run_timers if not SYNC_INPUT.
Most of the code moved to run_timers.
(do_pending_atimers): Call run_timers.
(run_timers): New function.
* sysdep.c (emacs_write): If SYNC_INPUT and pending_atimers, run atimers.
* process.c (wait_reading_process_output): The same as above.
2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuf.c (last_exact_completion): Remove variable.
...
...
src/process.c
View file @
ef5eb925
...
...
@@ -4309,8 +4309,13 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, do_display,
if (read_kbd >= 0)
QUIT;
#ifdef SYNC_INPUT
else if (interrupt_input_pending)
handle_async_input ();
else
{
if (interrupt_input_pending)
handle_async_input ();
if (pending_atimers)
do_pending_atimers ();
}
#endif
/* Exit now if the cell we're waiting for became non-nil. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment