summaryrefslogtreecommitdiff
path: root/src/callproc.c
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
commita83b0d81c5a9f83de75e460e4428f45655e9b9c6 (patch)
tree6afe4ecc0c9a906b6d4e6c65bca1fe456ad96538 /src/callproc.c
parenteff2abf61f012f3395603a4863cb1cd66c4342fb (diff)
downloademacs-a83b0d81c5a9f83de75e460e4428f45655e9b9c6.tar.gz
(child_setup): Test PRIO_PROCESS, as in sys_subshell.
Diffstat (limited to 'src/callproc.c')
-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. */