From 31511a9c2284f7394b60e56bbf4389a69bce535c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 13 Apr 2014 21:28:02 +0100 Subject: rcm: Run `cask install` for emacs, if installed --- hooks/post-up/emacs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hooks/post-up/emacs b/hooks/post-up/emacs index f6071b7d..6b04ae06 100755 --- a/hooks/post-up/emacs +++ b/hooks/post-up/emacs @@ -2,5 +2,11 @@ if [[ -s $commands[emacs] ]] then + if [[ -s $commands[cask] ]] + then + pushd ~/.emacs.d + cask install + popd + fi emacs --batch --eval '(batch-byte-recompile-directory 0)' ~/.emacs.d/ fi -- cgit 1.4.1