changeset 12808:4db1f387e85f

(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.
author Richard M. Stallman <rms@gnu.org>
date Tue, 08 Aug 1995 21:22:16 +0000
parents 34d269b30df1
children c388f6f7f210
files src/process.c
diffstat 1 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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 ();