From: Richard M. Stallman Date: Thu, 28 Apr 1994 05:44:54 +0000 (+0000) Subject: (child_setup): Test PRIO_PROCESS, as in sys_subshell. X-Git-Tag: emacs-19.34~8692 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5b633aeb249902d98d1cc79cc2d7f980065a1a31;p=emacs.git (child_setup): Test PRIO_PROCESS, as in sys_subshell. --- 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. */