]> git.eshelyaron.com Git - emacs.git/commitdiff
* Allow for logging async compilation command line
authorAndrea Corallo <akrl@sdf.org>
Thu, 14 May 2020 08:11:55 +0000 (09:11 +0100)
committerAndrea Corallo <akrl@sdf.org>
Fri, 15 May 2020 19:06:49 +0000 (20:06 +0100)
* lisp/emacs-lisp/comp.el (comp-run-async-workers): When non zero
verbose log async compilation command line invocation.

lisp/emacs-lisp/comp.el

index 7de8e0177c1f1214c7e36d4db17ecac29414f462..38c89ec263b393b946b65e62185609f5eb5db2f6 100644 (file)
@@ -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)