diff options
author | Alan Pearce | 2015-08-31 09:44:17 +0200 |
---|---|---|
committer | Alan Pearce | 2015-08-31 09:44:17 +0200 |
commit | 978b10831437e0217d2c770ac88272ba1a1c4dc4 (patch) | |
tree | f714bc8691001b935453b20e42558d3749bcf1bc | |
parent | 6d37b1638766cf1720194a0e7045ed1802b19b62 (diff) | |
download | dotfiles-978b10831437e0217d2c770ac88272ba1a1c4dc4.tar.lz dotfiles-978b10831437e0217d2c770ac88272ba1a1c4dc4.tar.zst dotfiles-978b10831437e0217d2c770ac88272ba1a1c4dc4.zip |
Emacs: Check for byte-compiliation errors
-rw-r--r-- | tag-emacs/emacs.d/init.org | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index f97f268..023de0a 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 |