From 02e3ffad6d9f757599bb441704b6cf6494183174 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Wed, 29 Apr 2020 21:21:42 +0100 Subject: [PATCH] * Fix async compilation non respecting `comp-always-compile' nil value. * lisp/emacs-lisp/comp.el (comp-run-async-workers): Fix missing `comp-output-filename' usage. --- lisp/emacs-lisp/comp.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 1dbafbe1ae1..05417fdc31c 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -2196,7 +2196,8 @@ display a message." "`comp-files-queue' should be \".el\" files: %s" source-file) when (or comp-always-compile - (file-newer-than-file-p source-file (concat source-file "n"))) + (file-newer-than-file-p source-file + (comp-output-filename source-file))) do (let* ((expr `(progn (require 'comp) (setf comp-speed ,comp-speed -- 2.39.5