diff options
author | Alan Pearce | 2017-03-17 10:39:59 +0100 |
---|---|---|
committer | Alan Pearce | 2017-03-17 10:39:59 +0100 |
commit | e23229baf851e14630889b21d956e23f13aae870 (patch) | |
tree | 8bd04206f643e5e8a8d5e3ac291048650854c62b /hooks/post-up/emacs | |
parent | 9595844538a4bcf53bec628874605f8c49d589c5 (diff) | |
download | nixfiles-e23229baf851e14630889b21d956e23f13aae870.tar.lz nixfiles-e23229baf851e14630889b21d956e23f13aae870.tar.zst nixfiles-e23229baf851e14630889b21d956e23f13aae870.zip |
Replace emacs hook with makefile
Diffstat (limited to 'hooks/post-up/emacs')
-rwxr-xr-x | hooks/post-up/emacs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/hooks/post-up/emacs b/hooks/post-up/emacs deleted file mode 100755 index 05a5c9d1..00000000 --- a/hooks/post-up/emacs +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -EMACS_COMMAND=$(command -v Emacs || command -v emacs) - -if [[ -s $EMACS_COMMAND ]] -then - pushd ~/.emacs.d - emacs --batch --eval "(progn -(setq vc-follow-symlinks nil) -(find-file \"init.org\") -(require 'ob-tangle) -(org-babel-tangle nil \"init.el\") -(byte-compile-file \"init.el\") -(load-file \"init.el\") -)" - popd -fi |