byte-compile Prelude after install

This commit is contained in:
Bozhidar Batsov 2012-05-11 16:06:40 +03:00
parent a813a50825
commit c09ea1a801

View file

@ -35,7 +35,14 @@ fi
printf "Cloning Emacs Prelude from GitHub... " printf "Cloning Emacs Prelude from GitHub... "
/usr/bin/env git clone $PRELUDE_URL $PRELUDE_INSTALL_DIR > /dev/null 2>&1 /usr/bin/env git clone $PRELUDE_URL $PRELUDE_INSTALL_DIR > /dev/null 2>&1
cd $PRELUDE_INSTALL_DIR 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"
printf "\e[34m| _ \ _ __ ___| |_ _ __| | ___ \n" printf "\e[34m| _ \ _ __ ___| |_ _ __| | ___ \n"