all repos — nixfiles @ bb6744eb3e79fdcd8be16d36d3cd149f6d4db76a

System and user configuration, managed by nix and home-manager

Emacs: Improve async byte-compile error handling
Alan Pearce alan@alanpearce.co.uk
Thu, 03 Sep 2015 19:32:54 +0200
commit

bb6744eb3e79fdcd8be16d36d3cd149f6d4db76a

parent

4d21cdf99136d0280cb2af57613295255f20a910

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -2497,7 +2497,8 @@ (require 'ob-tangle)             (org-babel-tangle nil dest)
             (if (byte-compile-file dest)
                 dest
-              "Errors occurred")))
+              (with-current-buffer byte-compile-log-buffer
+                (buffer-string)))))
        (lambda (result)
          (message "Init tangling completed: %s" result)))))
 #+END_SRC