summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-08-15 20:12:46 +0200
committerAndrea Corallo <akrl@sdf.org>2020-08-17 18:04:23 +0200
commitb6238d826e5abd1f49144df711deac6bffa3fe32 (patch)
tree3ea524344e3de14d41b5e21bd49a144e9b7689d6 /lisp/emacs-lisp/comp.el
parent377ffdb528e75f7e02be5f0305cdf326da0dc451 (diff)
downloademacs-b6238d826e5abd1f49144df711deac6bffa3fe32.tar.gz
emacs-b6238d826e5abd1f49144df711deac6bffa3fe32.tar.bz2
emacs-b6238d826e5abd1f49144df711deac6bffa3fe32.zip
* 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/emacs-lisp/comp.el')
-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