]> git.eshelyaron.com Git - emacs.git/commitdiff
(sys_subshell): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.
authorRichard M. Stallman <rms@gnu.org>
Fri, 13 May 1994 07:18:38 +0000 (07:18 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 13 May 1994 07:18:38 +0000 (07:18 +0000)
Don't call nice if emacs_priority is positive.

src/sysdep.c

index d7b256c8454e84310507eeb1aa29b41a02e72bd7..cbf928e786b1ffd072af3e1fc1e26dae25eab520 100644 (file)
@@ -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