Add git hooks to recompile emacs init file and elisp directory
2 files changed, 7 insertions(+), 0 deletions(-)
A git-hooks/post-checkout
@@ -0,0 +1,6 @@ +#!/usr/bin/env zsh +if [[ -x =emacs ]] +then + emacs --batch -f batch-byte-compile ~/.emacs.d/init.el + emacs --batch -f batch-byte-compile ~/.emacs.d/elisp/*.el +fi