aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/process.c b/src/process.c
index 714fc928c09..438f6e21e4c 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2387,13 +2387,14 @@ read_process_output (proc, channel)
2387 /* Handling the process output should not deactivate the mark. */ 2387 /* Handling the process output should not deactivate the mark. */
2388 Vdeactivate_mark = odeactivate; 2388 Vdeactivate_mark = odeactivate;
2389 2389
2390#if 0 /* Call record_asynch_buffer_change unconditionally,
2391 because we might have changed minor modes or other things
2392 that affect key bindings. */
2390 if (! EQ (Fcurrent_buffer (), obuffer) 2393 if (! EQ (Fcurrent_buffer (), obuffer)
2391 || ! EQ (current_buffer->keymap, okeymap)) 2394 || ! EQ (current_buffer->keymap, okeymap))
2395#endif
2392 record_asynch_buffer_change (); 2396 record_asynch_buffer_change ();
2393 2397
2394 if (waiting_for_user_input_p)
2395 prepare_menu_bars ();
2396
2397#ifdef VMS 2398#ifdef VMS
2398 start_vms_process_read (vs); 2399 start_vms_process_read (vs);
2399#endif 2400#endif
@@ -3386,12 +3387,12 @@ exec_sentinel (proc, reason)
3386 restore_match_data (); 3387 restore_match_data ();
3387 3388
3388 Vdeactivate_mark = odeactivate; 3389 Vdeactivate_mark = odeactivate;
3390#if 0
3389 if (! EQ (Fcurrent_buffer (), obuffer) 3391 if (! EQ (Fcurrent_buffer (), obuffer)
3390 || ! EQ (current_buffer->keymap, okeymap)) 3392 || ! EQ (current_buffer->keymap, okeymap))
3393#endif
3391 record_asynch_buffer_change (); 3394 record_asynch_buffer_change ();
3392 3395
3393 if (waiting_for_user_input_p)
3394 prepare_menu_bars ();
3395 unbind_to (count, Qnil); 3396 unbind_to (count, Qnil);
3396} 3397}
3397 3398
@@ -3732,9 +3733,6 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
3732 /* It's infinite. */ 3733 /* It's infinite. */
3733 timeout_p = 0; 3734 timeout_p = 0;
3734 3735
3735 /* This must come before stop_polling. */
3736 prepare_menu_bars ();
3737
3738 /* Turn off periodic alarms (in case they are in use) 3736 /* Turn off periodic alarms (in case they are in use)
3739 because the select emulator uses alarms. */ 3737 because the select emulator uses alarms. */
3740 stop_polling (); 3738 stop_polling ();