aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-13 07:18:18 +0000
committerRichard M. Stallman1994-05-13 07:18:18 +0000
commit68d10241fcf0f1bd4bc22aeb5deb9e0cf4a8e43d (patch)
treeb84961c5bfef6f1c2f7d355ff5e1c6c093284816 /src/callproc.c
parenta422068f596fa6cc2cde778d5eb28d4e69244587 (diff)
downloademacs-68d10241fcf0f1bd4bc22aeb5deb9e0cf4a8e43d.tar.gz
emacs-68d10241fcf0f1bd4bc22aeb5deb9e0cf4a8e43d.zip
(child_setup): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.
Don't call nice if emacs_priority is positive.
Diffstat (limited to 'src/callproc.c')
-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