]> git.eshelyaron.com Git - emacs.git/commitdiff
(child_setup): Test PRIO_PROCESS, as in sys_subshell.
authorRichard M. Stallman <rms@gnu.org>
Thu, 28 Apr 1994 05:44:54 +0000 (05:44 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 28 Apr 1994 05:44:54 +0000 (05:44 +0000)
src/callproc.c

index 9836b65f529af342dd84271e27e0400b7f3ab3d4..d612a7f94c163ce60b52b853645b071c6e6308fc 100644 (file)
@@ -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.  */