branch: externals/el-job commit e13a224d7e224adc0c90ddd2bdb4607be0da4e67 Author: Martin Edström <meedstro...@gmail.com> Commit: Martin Edström <meedstro...@gmail.com>
Change default method when fast-read-process-output is nil --- el-job.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/el-job.el b/el-job.el index 89247a535f..68e57aace2 100644 --- a/el-job.el +++ b/el-job.el @@ -275,7 +275,10 @@ See subroutine `el-job-child--zip' for details." ;; 1. Eval: (progn (setq el-job-default-method 'poll) (el-job-kill-all)) ;; 2. Do a few times: M-x org-node-reset (defvar el-job-default-method - (if (< emacs-major-version 30) 'reap 'change-hook) + (if (and (>= emacs-major-version 30) + (bound-and-true-p fast-read-process-output)) + 'change-hook + 'reap) "Method of getting output from subprocesses. Three settings possible: