Commit 68d10241 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(child_setup): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.

Don't call nice if emacs_priority is positive.
parent a422068f
...@@ -574,11 +574,12 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir) ...@@ -574,11 +574,12 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir)
int pid = getpid (); int pid = getpid ();
#ifdef PRIO_PROCESS #ifdef SET_EMACS_PRIORITY
{ {
extern int emacs_priority; extern int emacs_priority;
nice (- emacs_priority); if (emacs_priority < 0)
nice (- emacs_priority);
} }
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment