summary refs log tree commit diff stats
path: root/hooks/post-up/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/post-up/emacs')
-rwxr-xr-xhooks/post-up/emacs6
1 files changed, 6 insertions, 0 deletions
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