summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-09-03 19:32:54 +0200
committerAlan Pearce2015-09-03 19:32:54 +0200
commitbb6744eb3e79fdcd8be16d36d3cd149f6d4db76a (patch)
treeed4b7237c38f77e9daeeb6496b210bdbde8f6b01 /tag-emacs
parent4d21cdf99136d0280cb2af57613295255f20a910 (diff)
downloaddotfiles-bb6744eb3e79fdcd8be16d36d3cd149f6d4db76a.tar.lz
dotfiles-bb6744eb3e79fdcd8be16d36d3cd149f6d4db76a.tar.zst
dotfiles-bb6744eb3e79fdcd8be16d36d3cd149f6d4db76a.zip
Emacs: Improve async byte-compile error handling
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org3
1 files changed, 2 insertions, 1 deletions
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