]> code.delx.au - gnu-emacs/commitdiff
(Fcall_process): Call prepare_menu_bars.
authorRichard M. Stallman <rms@gnu.org>
Thu, 23 Dec 1993 02:00:55 +0000 (02:00 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 23 Dec 1993 02:00:55 +0000 (02:00 +0000)
src/vmsproc.c

index fff0aec6d60211edac809726cb9c60eee21b26f5..777ae61876ed70001824103fb6338bbf3e5f6acb 100644 (file)
@@ -573,6 +573,9 @@ if you quit, the process is killed.")
       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 @@ if you quit, the process is killed.")
       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);