From 676c0b09332ae0159106c79d1f88fd8c706b4ed0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 18 Jul 2015 17:12:59 +0200 Subject: RCM: Tangle Emacs init file on install --- hooks/post-up/emacs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'hooks') 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 -- cgit 1.4.1