Commit 391fb073 authored by Richard M. Stallman's avatar Richard M. Stallman

(main): In batch mode, don't set the pgrp.

parent 41d5a50d
......@@ -409,18 +409,20 @@ main (argc, argv, envp)
clearerr (stdin);
#ifdef BSD_PGRPS
if (initialized)
if (! noninteractive1)
{
inherited_pgroup = EMACS_GETPGRP (0);
setpgrp (0, getpid ());
}
#ifdef BSD_PGRPS
if (initialized)
{
inherited_pgroup = EMACS_GETPGRP (0);
setpgrp (0, getpid ());
}
#else
#if defined (USG5) && defined (INTERRUPT_INPUT)
setpgrp ();
setpgrp ();
#endif
#endif
}
#ifdef APOLLO
#ifndef APOLLO_SR10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment