branch: elpa/el-job commit 3b3b800153847e349863affefc90599568c31111 Author: Martin Edström <meedstro...@gmail.com> Commit: Martin Edström <meedstro...@gmail.com>
Add an autoload for easier load-path checks --- README.org | 3 +-- el-job.el | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index ecd77a3d8b..2a31009a26 100644 --- a/README.org +++ b/README.org @@ -1,7 +1,6 @@ +#+TITLE: el-job #+HTML: <a href="https://melpa.org/#/el-job"><img alt="MELPA" src="https://melpa.org/packages/el-job-badge.svg"/></a> <a href="https://stable.melpa.org/#/el-job"><img alt="MELPA Stable" src="https://stable.melpa.org/packages/el-job-badge.svg"/></a> -* el-job - Imagine you have a function you'd like to run on a long list of inputs. You could run =(mapcar #'FN INPUTS)=, but that hangs Emacs until done. This library is a tool to split up the inputs and run the function in many subprocesses (one per CPU core), then merge their outputs and pass it back to the current Emacs. In the meantime, current Emacs does not hang at all. diff --git a/el-job.el b/el-job.el index 07e5bf3f94..42f92fd830 100644 --- a/el-job.el +++ b/el-job.el @@ -342,6 +342,7 @@ Safely return nil otherwise, whether or not ID is known." (when-let ((job (gethash id el-jobs))) (el-job:busy job))) +;;;###autoload (cl-defun el-job-launch (&key load inject-vars eval-once