changeset 7482:8193d122cf6e

(sys_subshell): 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:38 +0000
parents b7d23c08750c
children dfd719c64907
files src/sysdep.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Fri May 13 07:18:18 1994 +0000
+++ b/src/sysdep.c	Fri May 13 07:18:38 1994 +0000
@@ -697,11 +697,11 @@
       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