]> git.eshelyaron.com Git - emacs.git/commitdiff
Cleanups for src/callproc.c.
authorDan Nicolaescu <dann@ics.uci.edu>
Mon, 12 Jul 2010 17:21:11 +0000 (10:21 -0700)
committerDan Nicolaescu <dann@ics.uci.edu>
Mon, 12 Jul 2010 17:21:11 +0000 (10:21 -0700)
* src/callproc.c (child_setup): Remove subprocesses conditional.
Remove code dealing with SET_EMACS_PRIORITY, unused.

src/ChangeLog
src/callproc.c

index 82a50f48cc86b41c043f08c6784bc00b4e595c95..267ca18b69941fe1654e65f398f83c5f3aa08d5f 100644 (file)
@@ -1,5 +1,8 @@
 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
 
+       * callproc.c (child_setup): Remove subprocesses conditional.
+       Remove code dealing with SET_EMACS_PRIORITY, unused.
+
        * buffer.c (Fset_buffer_multibyte): Remove subprocesses conditional.
        * process.c (close_process_descs): Use DOS_NT instead of WINDOWSNT.
 
index 4ad6bcf41ea9231f96abbdc9ca33d66dd857e30e..fd2cf6356ec28278361c2260b2a4a0a616f791cc 100644 (file)
@@ -1054,19 +1054,9 @@ child_setup (int in, int out, int err, register char **new_argv, int set_pgrp, L
 
   int pid = getpid ();
 
-#ifdef SET_EMACS_PRIORITY
-  {
-    extern EMACS_INT emacs_priority;
-
-    if (emacs_priority < 0)
-      nice (- emacs_priority);
-  }
-#endif
-
-#ifdef subprocesses
   /* Close Emacs's descriptors that this process should not have.  */
   close_process_descs ();
-#endif
+
   /* DOS_NT isn't in a vfork, so if we are in the middle of load-file,
      we will lose if we call close_load_descs here.  */
 #ifndef DOS_NT