summary refs log tree commit diff stats
path: root/hooks/post-up/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/post-up/emacs')
-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 2e907f7c..0bd4d567 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