summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-05-13 07:18:38 +0000
committerRichard M. Stallman <rms@gnu.org>1994-05-13 07:18:38 +0000
commit6f8b4d01023be8232a45cde0112568fd4da0f88c (patch)
tree094abb59b52cd80c1cb96672c7d405e1bae4e36d
parent68d10241fcf0f1bd4bc22aeb5deb9e0cf4a8e43d (diff)
downloademacs-6f8b4d01023be8232a45cde0112568fd4da0f88c.tar.gz
(sys_subshell): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.
Don't call nice if emacs_priority is positive.
-rw-r--r--src/sysdep.c4
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