Commit 6f8b4d01 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(sys_subshell): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.

Don't call nice if emacs_priority is positive.
parent 68d10241
......@@ -697,11 +697,11 @@ sys_subshell ()
close_process_descs (); /* Close Emacs's pipes/ptys */
#endif
#ifdef PRIO_PROCESS
#ifdef SET_EMACS_PRIORITY
{
extern int emacs_priority;
if (emacs_priority)
if (emacs_priority < 0)
nice (-emacs_priority);
}
#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