From bb6744eb3e79fdcd8be16d36d3cd149f6d4db76a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 3 Sep 2015 19:32:54 +0200 Subject: Emacs: Improve async byte-compile error handling --- tag-emacs/emacs.d/init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 1498f25..48b7639 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -2497,7 +2497,8 @@ the =org=-document after changes. (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 -- cgit 1.4.1