RCM: Tangle Emacs init file on install
Alan Pearce alan@alanpearce.co.uk
Sat, 18 Jul 2015 17:12:59 +0200
1 files changed, 6 insertions(+), 1 deletions(-)
jump to
M hooks/post-up/emacs → hooks/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