diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c index d3fc963313d..779d16faaad 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -375,7 +375,11 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir) | |||
| 375 | 375 | ||
| 376 | register int pid = getpid(); | 376 | register int pid = getpid(); |
| 377 | 377 | ||
| 378 | setpriority (PRIO_PROCESS, pid, 0); | 378 | { |
| 379 | extern int emacs_priority; | ||
| 380 | |||
| 381 | nice (- emacs_priority); | ||
| 382 | } | ||
| 379 | 383 | ||
| 380 | #ifdef subprocesses | 384 | #ifdef subprocesses |
| 381 | /* Close Emacs's descriptors that this process should not have. */ | 385 | /* Close Emacs's descriptors that this process should not have. */ |