summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.org5
1 files 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