Mercurial > emacs
comparison src/process.c @ 111590:121e3a019c49
Fix revno 100152.
keyboard.c (kbd_buffer_nr_stored): Define only ifdef subprocesses.
(kbd_buffer_store_event_hold, kbd_buffer_get_event)
(tty_read_avail_input): Call kbd_buffer_nr_stored only ifdef
subprocesses. Use buffer_free only ifdef subprocesses.
process.c (init_process) [subprocesses]: Init kbd_is_on_hold in
the subprocesses version, not in the non-subprocesses one.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Tue, 09 Nov 2010 20:36:21 +0200 |
| parents | e7a9eb3aa4ac |
| children | 376148b31b5e |
comparison
equal
deleted
inserted
replaced
| 111589:82705ee7a2ac | 111590:121e3a019c49 |
|---|---|
| 7354 init_process () | 7354 init_process () |
| 7355 { | 7355 { |
| 7356 register int i; | 7356 register int i; |
| 7357 | 7357 |
| 7358 inhibit_sentinels = 0; | 7358 inhibit_sentinels = 0; |
| 7359 kbd_is_on_hold = 0; | |
| 7359 | 7360 |
| 7360 #ifdef SIGCHLD | 7361 #ifdef SIGCHLD |
| 7361 #ifndef CANNOT_DUMP | 7362 #ifndef CANNOT_DUMP |
| 7362 if (! noninteractive || initialized) | 7363 if (! noninteractive || initialized) |
| 7363 #endif | 7364 #endif |
| 8091 } | 8092 } |
| 8092 | 8093 |
| 8093 void | 8094 void |
| 8094 init_process () | 8095 init_process () |
| 8095 { | 8096 { |
| 8096 kbd_is_on_hold = 0; | |
| 8097 } | 8097 } |
| 8098 | 8098 |
| 8099 void | 8099 void |
| 8100 syms_of_process () | 8100 syms_of_process () |
| 8101 { | 8101 { |
