Commit d6ddc978 authored by Andrea Corallo's avatar Andrea Corallo
Browse files

* Do not try to load unexistent eln file if async compilation was skipped

	* lisp/emacs-lisp/comp.el (comp-run-async-workers): Don't try to
	load if the eln file was not produced.
parent c36df52f
Pipeline #10633 failed with stages
in 41 minutes and 35 seconds
......@@ -3944,11 +3944,14 @@ display a message."
(comp-accept-and-process-async-output process)
(ignore-errors (delete-file temp-file))
(when (and load1
(zerop (process-exit-status process)))
(comp-el-to-eln-filename source-file1)
(eq load1 'late)))
(let ((eln-file (comp-el-to-eln-filename
(when (and load1
(zerop (process-exit-status
(file-exists-p eln-file))
(native-elisp-load eln-file
(eq load1 'late))))
:noquery (not comp-async-query-on-exit))))
(puthash source-file process comp-async-compilations))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment