From c09ea1a801ec1ed8f33db7cc51a6bb9ee44930a0 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Fri, 11 May 2012 16:06:40 +0300 Subject: [PATCH] byte-compile Prelude after install --- utils/installer.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/utils/installer.sh b/utils/installer.sh index fba4e19..66ad4da 100755 --- a/utils/installer.sh +++ b/utils/installer.sh @@ -35,7 +35,14 @@ fi printf "Cloning Emacs Prelude from GitHub... " /usr/bin/env git clone $PRELUDE_URL $PRELUDE_INSTALL_DIR > /dev/null 2>&1 cd $PRELUDE_INSTALL_DIR -printf "done.\n\n" +printf "done.\n" + +if which emacs 2>&1 > /dev/null +then + printf "Byte compiling Prelude... " + emacs -batch -f batch-byte-compile $PRELUDE_INSTALL_DIR/prelude/*.el + printf "done.\n\n" +fi printf "\e[34m ____ _ _ \n" printf "\e[34m| _ \ _ __ ___| |_ _ __| | ___ \n"