# HG changeset patch # User Richard M. Stallman # Date 807916936 0 # Node ID 4db1f387e85fa4b4ab52e4f3810c16a251b1e488 # Parent 34d269b30df1a286dc708ec749e46836bd48bdd8 (read_process_output, exec_sentinel): Call record_asynch_buffer_change after any eval. Don't call prepare_menu_bars. (wait_reading_process_input): Don't call prepare_menu_bars. diff -r 34d269b30df1 -r 4db1f387e85f src/process.c --- a/src/process.c Tue Aug 08 21:20:07 1995 +0000 +++ b/src/process.c Tue Aug 08 21:22:16 1995 +0000 @@ -2387,13 +2387,14 @@ /* Handling the process output should not deactivate the mark. */ Vdeactivate_mark = odeactivate; +#if 0 /* Call record_asynch_buffer_change unconditionally, + because we might have changed minor modes or other things + that affect key bindings. */ if (! EQ (Fcurrent_buffer (), obuffer) || ! EQ (current_buffer->keymap, okeymap)) +#endif record_asynch_buffer_change (); - if (waiting_for_user_input_p) - prepare_menu_bars (); - #ifdef VMS start_vms_process_read (vs); #endif @@ -3386,12 +3387,12 @@ restore_match_data (); Vdeactivate_mark = odeactivate; +#if 0 if (! EQ (Fcurrent_buffer (), obuffer) || ! EQ (current_buffer->keymap, okeymap)) +#endif record_asynch_buffer_change (); - if (waiting_for_user_input_p) - prepare_menu_bars (); unbind_to (count, Qnil); } @@ -3732,9 +3733,6 @@ /* It's infinite. */ timeout_p = 0; - /* This must come before stop_polling. */ - prepare_menu_bars (); - /* Turn off periodic alarms (in case they are in use) because the select emulator uses alarms. */ stop_polling ();