From 978b10831437e0217d2c770ac88272ba1a1c4dc4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 31 Aug 2015 09:44:17 +0200 Subject: Emacs: Check for byte-compiliation errors --- tag-emacs/emacs.d/init.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index f97f2680..023de0ac 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -2479,8 +2479,9 @@ the =org=-document after changes. (find-file ,(buffer-file-name)) (require 'ob-tangle) (org-babel-tangle nil dest) - (byte-compile-file dest) - dest)) + (if (byte-compile-file dest) + dest + "Errors occurred"))) (lambda (result) (message "Init tangling completed: %s" result))))) #+END_SRC -- cgit 1.4.1