summary refs log tree commit diff stats
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/post-up/emacs7
1 files changed, 6 insertions, 1 deletions
diff --git a/hooks/post-up/emacs b/hooks/post-up/emacs
index 2e907f7..0bd4d56 100755
--- a/hooks/post-up/emacs
+++ b/hooks/post-up/emacs
@@ -13,6 +13,11 @@ then
 	fi
 	pushd ~/.emacs.d
 	cask install
+	emacs --batch --eval "(progn
+(find-file \"init.org\")
+(require 'ob-tangle)
+(org-babel-tangle nil \"init.el\")
+(byte-compile-file \"init.el\")
+)"
 	popd
-	emacs --batch --eval '(batch-byte-recompile-directory 0)' ~/.emacs.d/elisp
 fi