Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
edb85f59
Commit
edb85f59
authored
Jun 05, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(main): Do the setpgrp after checking for -batch.
parent
054c8675
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
src/emacs.c
src/emacs.c
+15
-15
No files found.
src/emacs.c
View file @
edb85f59
...
...
@@ -409,21 +409,6 @@ main (argc, argv, envp)
clearerr
(
stdin
);
if
(
!
noninteractive1
)
{
#ifdef BSD_PGRPS
if
(
initialized
)
{
inherited_pgroup
=
EMACS_GETPGRP
(
0
);
setpgrp
(
0
,
getpid
());
}
#else
#if defined (USG5) && defined (INTERRUPT_INPUT)
setpgrp
();
#endif
#endif
}
#ifdef APOLLO
#ifndef APOLLO_SR10
/* If USE_DOMAIN_ACLS environment variable exists,
...
...
@@ -507,6 +492,21 @@ main (argc, argv, envp)
noninteractive
=
1
;
}
if
(
!
noninteractive
)
{
#ifdef BSD_PGRPS
if
(
initialized
)
{
inherited_pgroup
=
EMACS_GETPGRP
(
0
);
setpgrp
(
0
,
getpid
());
}
#else
#if defined (USG5) && defined (INTERRUPT_INPUT)
setpgrp
();
#endif
#endif
}
#ifdef POSIX_SIGNALS
init_signals
();
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment