From: Richard M. Stallman Date: Fri, 13 May 1994 07:18:38 +0000 (+0000) Subject: (sys_subshell): PRIO_PROCESS renamed to SET_EMACS_PRIORITY. X-Git-Tag: emacs-19.34~8371 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f8b4d01023be8232a45cde0112568fd4da0f88c;p=emacs.git (sys_subshell): PRIO_PROCESS renamed to SET_EMACS_PRIORITY. Don't call nice if emacs_priority is positive. --- diff --git a/src/sysdep.c b/src/sysdep.c index d7b256c8454..cbf928e786b 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -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