CHECK_STRING (args[0], 0);
- if (nargs <= 1 || NULL (args[1]))
+ if (nargs <= 1 || NILP (args[1]))
args[1] = build_string ("NLA0:");
else
args[1] = Fexpand_file_name (args[1], current_buffer->directory);
return Qnil;
}
+ if (!NILP (display) && INTERACTIVE)
+ prepare_menu_bars ();
+
record_unwind_protect (call_process_cleanup,
Fcons (make_number (fd[0]), make_number (pid)));
if (vs->iosb[0] & 1)
{
immediate_quit = 0;
- if (!NULL (buffer))
+ if (!NILP (buffer))
{
vs->iosb[1] = clean_vms_buffer (vs->inputBuffer, vs->iosb[1]);
InsCStr (vs->inputBuffer, vs->iosb[1]);
}
- if (!NULL (display) && INTERACTIVE)
+ if (!NILP (display) && INTERACTIVE)
redisplay_preserve_echo_area ();
immediate_quit = 1;
QUIT;
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);
set_current_buffer (old);
- unbind_to (count);
-
- return Qnil;
+ return unbind_to (count, Qnil);
}
create_process (process, new_argv)