emacs-diffs
[Top][All Lists]
Advanced

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

feature/native-comp 9a64585 16/17: * Allow for logging async compilation


From: Andrea Corallo
Subject: feature/native-comp 9a64585 16/17: * Allow for logging async compilation command line
Date: Fri, 15 May 2020 15:07:57 -0400 (EDT)

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

    * Allow for logging async compilation command line
    
        * lisp/emacs-lisp/comp.el (comp-run-async-workers): When non zero
        verbose log async compilation command line invocation.
---
 lisp/emacs-lisp/comp.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 7de8e01..38c89ec 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -2317,6 +2317,9 @@ display a message."
                             (message "Compiling %s..." ,source-file)
                             (native-compile ,source-file ,(and load t))))
                    (source-file1 source-file) ;; Make the closure works :/
+                   (_ (progn
+                        (comp-log "\n")
+                        (comp-log (prin1-to-string expr))))
                    (load1 load)
                    (process (make-process
                              :name (concat "Compiling: " source-file)



reply via email to

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