all repos — archive/dotfiles @ 676c0b09332ae0159106c79d1f88fd8c706b4ed0

Superseded by nixfiles

RCM: Tangle Emacs init file on install
Alan Pearce alan@alanpearce.co.uk
Sat, 18 Jul 2015 17:12:59 +0200
commit

676c0b09332ae0159106c79d1f88fd8c706b4ed0

parent

fd72b1680ad33c4976c588471b03144655b62911

1 files changed, 6 insertions(+), 1 deletions(-)

jump to
M hooks/post-up/emacshooks/post-up/emacs
@@ -13,6 +13,11 @@ ln -s ~/.cask/bin/cask ~/bin/cask 	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