summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-09-07 10:37:56 +0200
committerAlan Pearce2015-09-07 10:37:56 +0200
commitebf6a8b80f7c3a6493b84629350052432fd5b688 (patch)
tree9a21dc0b1a33774f070233b4b569d449e0237457
parent0264ff400bc6c275aea047e3c717d6f936628b7d (diff)
downloaddotfiles-ebf6a8b80f7c3a6493b84629350052432fd5b688.tar.lz
dotfiles-ebf6a8b80f7c3a6493b84629350052432fd5b688.tar.zst
dotfiles-ebf6a8b80f7c3a6493b84629350052432fd5b688.zip
Emacs: Fix tangling, again
-rw-r--r--tag-emacs/emacs.d/init.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 90287f9..c78c62a 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -2484,12 +2484,14 @@ to the =after-save-hook= ensuring to always tangle and byte-compile
 the =org=-document after changes.
 
 #+BEGIN_SRC emacs-lisp
+  (req-package async
+    :defer 2)
+
   (defun tangle-init ()
     "If the current buffer is 'init.org' the code-blocks are
       tangled, and the tangled file is compiled."
 
     (when (string-suffix-p "init.org" (buffer-file-name))
-      (require 'async)
       (async-start
        `(lambda ()
           ;; Avoid running hooks when tangling.