emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/native-comp 02e3ffa: * Fix async compilation non respecting `com


From: Andrea Corallo
Subject: feature/native-comp 02e3ffa: * Fix async compilation non respecting `comp-always-compile' nil value.
Date: Wed, 29 Apr 2020 16:26:48 -0400 (EDT)

branch: feature/native-comp
commit 02e3ffad6d9f757599bb441704b6cf6494183174
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>

    * 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 1dbafbe..05417fd 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]