branch: externals/async
commit f23ed33f050a9f5b9460b5b78ba20987e747ed2e
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Bind error-data in async-byte-compile-file
---
 async-bytecomp.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/async-bytecomp.el b/async-bytecomp.el
index 1558bd46ff..503653d6bc 100644
--- a/async-bytecomp.el
+++ b/async-bytecomp.el
@@ -194,7 +194,8 @@ Same as `byte-compile-file' but asynchronous."
      `(lambda ()
         (require 'bytecomp)
         ,(async-inject-variables async-bytecomp-load-variable-regexp)
-        (let ((default-directory ,(file-name-directory file)))
+        (let ((default-directory ,(file-name-directory file))
+              error-data)
           (add-to-list 'load-path default-directory)
           (byte-compile-file ,file)
           (when (get-buffer byte-compile-log-buffer)

Reply via email to