Mercurial > emacs
changeset 7481:b7d23c08750c
(child_setup): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.
Don't call nice if emacs_priority is positive.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 13 May 1994 07:18:18 +0000 |
parents | e96f67e55921 |
children | 8193d122cf6e |
files | src/callproc.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/callproc.c Fri May 13 07:17:59 1994 +0000 +++ b/src/callproc.c Fri May 13 07:18:18 1994 +0000 @@ -574,11 +574,12 @@ int pid = getpid (); -#ifdef PRIO_PROCESS +#ifdef SET_EMACS_PRIORITY { extern int emacs_priority; - nice (- emacs_priority); + if (emacs_priority < 0) + nice (- emacs_priority); } #endif