branch: externals/el-job commit ede47d6717a088d83376e5bd69c5806dbdcd8dab Author: Martin Edström <meedst...@runbox.eu> Commit: Martin Edström <meedst...@runbox.eu>
Fix likely bug when no native-comp --- el-job-ng.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/el-job-ng.el b/el-job-ng.el index 2f63c2066c..af19523953 100644 --- a/el-job-ng.el +++ b/el-job-ng.el @@ -256,9 +256,10 @@ ID can also be passed to these helpers: (coding-system-for-read 'utf-8-emacs-unix) (vars (prin1-to-string (append (list (cons 'temporary-file-directory temporary-file-directory) - (cons 'load-path load-path) - (and (boundp 'native-comp-eln-load-path) - (cons 'native-comp-eln-load-path native-comp-eln-load-path))) + (cons 'load-path load-path)) + (and (boundp 'native-comp-eln-load-path) + (list + (cons 'native-comp-eln-load-path native-comp-eln-load-path))) ;; NOTE: These go last so they can override the above. inject-vars))) (libs (prin1-to-string require))