summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d')
-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 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