changeset 5252:3c213dd261d8

(Fcall_process): Call prepare_menu_bars.
author Richard M. Stallman <rms@gnu.org>
date Thu, 23 Dec 1993 02:00:55 +0000
parents 480731ff8e9a
children 1846f03ac8f3
files src/vmsproc.c
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/vmsproc.c	Thu Dec 23 02:00:09 1993 +0000
+++ b/src/vmsproc.c	Thu Dec 23 02:00:55 1993 +0000
@@ -573,6 +573,9 @@
       return Qnil;
     }
 
+  if (!NILP (display) && INTERACTIVE)
+    prepare_menu_bars ();
+
   record_unwind_protect (call_process_cleanup,
 			 Fcons (make_number (fd[0]), make_number (pid)));
 
@@ -604,9 +607,10 @@
       else
 	break;
     }
-    sys$dassgn (inchannel);
-    sys$dassgn (outchannel);
-    give_back_vms_process_stuff (vs);
+
+  sys$dassgn (inchannel);
+  sys$dassgn (outchannel);
+  give_back_vms_process_stuff (vs);
 
   /* Wait for it to terminate, unless it already has.  */
   wait_for_termination (pid);