From b6238d826e5abd1f49144df711deac6bffa3fe32 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sat, 15 Aug 2020 20:12:46 +0200 Subject: [PATCH] * Deferred compilation must always compile despite source file timestamp * lisp/emacs-lisp/comp.el (comp-run-async-workers): Always compile if load is set. --- lisp/emacs-lisp/comp.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 802466550dc..b5ab4ebdccb 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -2568,6 +2568,8 @@ display a message." "`comp-files-queue' should be \".el\" files: %s" source-file) when (or comp-always-compile + load ; Always compile when the compilation is + ; commanded for late load. (file-newer-than-file-p source-file (comp-el-to-eln-filename source-file))) do (let* ((expr `(progn