aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-13 07:18:38 +0000
committerRichard M. Stallman1994-05-13 07:18:38 +0000
commit6f8b4d01023be8232a45cde0112568fd4da0f88c (patch)
tree094abb59b52cd80c1cb96672c7d405e1bae4e36d /src
parent68d10241fcf0f1bd4bc22aeb5deb9e0cf4a8e43d (diff)
downloademacs-6f8b4d01023be8232a45cde0112568fd4da0f88c.tar.gz
emacs-6f8b4d01023be8232a45cde0112568fd4da0f88c.zip
(sys_subshell): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.
Don't call nice if emacs_priority is positive.
Diffstat (limited to 'src')
-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 ()
697 close_process_descs (); /* Close Emacs's pipes/ptys */ 697 close_process_descs (); /* Close Emacs's pipes/ptys */
698#endif 698#endif
699 699
700#ifdef PRIO_PROCESS 700#ifdef SET_EMACS_PRIORITY
701 { 701 {
702 extern int emacs_priority; 702 extern int emacs_priority;
703 703
704 if (emacs_priority) 704 if (emacs_priority < 0)
705 nice (-emacs_priority); 705 nice (-emacs_priority);
706 } 706 }
707#endif 707#endif