diff options
| author | Richard M. Stallman <rms@gnu.org> | 1994-05-13 07:18:38 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1994-05-13 07:18:38 +0000 |
| commit | 6f8b4d01023be8232a45cde0112568fd4da0f88c (patch) | |
| tree | 094abb59b52cd80c1cb96672c7d405e1bae4e36d /src/sysdep.c | |
| parent | 68d10241fcf0f1bd4bc22aeb5deb9e0cf4a8e43d (diff) | |
| download | emacs-6f8b4d01023be8232a45cde0112568fd4da0f88c.tar.gz | |
(sys_subshell): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.
Don't call nice if emacs_priority is positive.
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
