summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-08-15 20:12:46 +0200
committerAndrea Corallo <akrl@sdf.org>2020-08-15 20:54:44 +0200
commit19a9ecf90b810bb62555bfec4a8287125a5a6e31 (patch)
tree25466816da49529263190a079cff49752291d42e /lisp
parentade825bafc904afc5231c0b5a9e4fecfb881ddc7 (diff)
downloademacs-19a9ecf90b810bb62555bfec4a8287125a5a6e31.tar.gz
* Deferred compilation must always compile despite source file timestamp
* lisp/emacs-lisp/comp.el (comp-run-async-workers): Always compile if load is set.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/comp.el2
1 files changed, 2 insertions, 0 deletions
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