mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 09:00:31 -08:00
* 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.
This commit is contained in:
parent
c36df52ff5
commit
d6ddc97884
1 changed files with 8 additions and 5 deletions
|
|
@ -3944,11 +3944,14 @@ display a message."
|
|||
source-file)
|
||||
(comp-accept-and-process-async-output process)
|
||||
(ignore-errors (delete-file temp-file))
|
||||
(when (and load1
|
||||
(zerop (process-exit-status process)))
|
||||
(native-elisp-load
|
||||
(comp-el-to-eln-filename source-file1)
|
||||
(eq load1 'late)))
|
||||
(let ((eln-file (comp-el-to-eln-filename
|
||||
source-file1)))
|
||||
(when (and load1
|
||||
(zerop (process-exit-status
|
||||
process))
|
||||
(file-exists-p eln-file))
|
||||
(native-elisp-load eln-file
|
||||
(eq load1 'late))))
|
||||
(comp-run-async-workers))
|
||||
:noquery (not comp-async-query-on-exit))))
|
||||
(puthash source-file process comp-async-compilations))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue