aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/callproc.c b/src/callproc.c
index b3f88e56f66..cdf8f1a67c0 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -574,11 +574,12 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir)
574 574
575 int pid = getpid (); 575 int pid = getpid ();
576 576
577#ifdef PRIO_PROCESS 577#ifdef SET_EMACS_PRIORITY
578 { 578 {
579 extern int emacs_priority; 579 extern int emacs_priority;
580 580
581 nice (- emacs_priority); 581 if (emacs_priority < 0)
582 nice (- emacs_priority);
582 } 583 }
583#endif 584#endif
584 585