Emacs: Check for byte-compiliation errors
Alan Pearce alan.pearce@spotcap.com
Mon, 31 Aug 2015 09:44:17 +0200
1 files changed, 3 insertions(+), 2 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -2479,8 +2479,9 @@ (dest (concat user-emacs-directory "init.el"))) (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