summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-04-28 05:44:54 +0000
committerRichard M. Stallman <rms@gnu.org>1994-04-28 05:44:54 +0000
commit5b633aeb249902d98d1cc79cc2d7f980065a1a31 (patch)
tree97cdc5f7786e1277a38003dc00d18e3901c74b8f /src
parent280ec6c2d45497810dc0c4327472bf2d358f7cd3 (diff)
downloademacs-5b633aeb249902d98d1cc79cc2d7f980065a1a31.tar.gz
(child_setup): Test PRIO_PROCESS, as in sys_subshell.
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 9836b65f529..d612a7f94c1 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -558,11 +558,13 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir)
int pid = getpid ();
+#ifdef PRIO_PROCESS
{
extern int emacs_priority;
nice (- emacs_priority);
}
+#endif
#ifdef subprocesses
/* Close Emacs's descriptors that this process should not have. */