diff options
author | Alan Pearce | 2015-07-18 17:12:59 +0200 |
---|---|---|
committer | Alan Pearce | 2015-07-18 17:12:59 +0200 |
commit | 676c0b09332ae0159106c79d1f88fd8c706b4ed0 (patch) | |
tree | ab08eb23809ff4516a5adf277c49054cfca57f8b /hooks/post-up/emacs | |
parent | fd72b1680ad33c4976c588471b03144655b62911 (diff) | |
download | nixfiles-676c0b09332ae0159106c79d1f88fd8c706b4ed0.tar.lz nixfiles-676c0b09332ae0159106c79d1f88fd8c706b4ed0.tar.zst nixfiles-676c0b09332ae0159106c79d1f88fd8c706b4ed0.zip |
RCM: Tangle Emacs init file on install
Diffstat (limited to 'hooks/post-up/emacs')
-rwxr-xr-x | hooks/post-up/emacs | 7 |
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 |