aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-07-28 08:19:30 +0000
committerRichard M. Stallman1993-07-28 08:19:30 +0000
commit6cbc22ed96077cba008cf70cf88455f2ebf9f043 (patch)
tree7a202abd4c10899ab5a2c87dde43c238f6bcedbd /src
parenta5fd213fe1d4a846cbcf286aa2d67791034578c8 (diff)
downloademacs-6cbc22ed96077cba008cf70cf88455f2ebf9f043.tar.gz
emacs-6cbc22ed96077cba008cf70cf88455f2ebf9f043.zip
(wait_reading_process_input): Undo last two changes:
when wait_for_cell, do not check the keyboard.
Diffstat (limited to 'src')
-rw-r--r--src/process.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index 3370a3298cf..643c87d1227 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1812,7 +1812,10 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
1812 /* Wait till there is something to do */ 1812 /* Wait till there is something to do */
1813 1813
1814 Available = input_wait_mask; 1814 Available = input_wait_mask;
1815 if (! XINT (read_kbd) && wait_for_cell == 0) 1815 /* We used to have && wait_for_cell == 0
1816 but that led to lossage handling selection_request events:
1817 within one, we would start to handle another. */
1818 if (! XINT (read_kbd))
1816 FD_CLR (0, &Available); 1819 FD_CLR (0, &Available);
1817 1820
1818 /* If frame size has changed or the window is newly mapped, 1821 /* If frame size has changed or the window is newly mapped,
@@ -1891,7 +1894,9 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
1891 /* If there is any, return immediately 1894 /* If there is any, return immediately
1892 to give it higher priority than subprocesses */ 1895 to give it higher priority than subprocesses */
1893 1896
1894 if ((XINT (read_kbd) || wait_for_cell) 1897 /* We used to do his if wait_for_cell,
1898 but that caused infinite recursion in selection request events. */
1899 if ((XINT (read_kbd))
1895 && detect_input_pending ()) 1900 && detect_input_pending ())
1896 { 1901 {
1897 swallow_events (); 1902 swallow_events ();