Update required Emacs version check

This commit is contained in:
Bozhidar Batsov 2020-09-16 10:46:00 +03:00
parent e4e9b3c36e
commit 091c3e53a7

View file

@ -175,9 +175,9 @@ fi
### Check emacs version
emacs_version="$(emacs --version 2>/dev/null | sed -n 's/.*[^0-9.]\([0-9]*\.[0-9.]*\).*/\1/p;q' | sed 's/\..*//g')"
if [ "${emacs_version:-0}" -lt 24 ]
if [ "${emacs_version:-0}" -lt 25 ]
then
printf "$YELLOW WARNING:$RESET Prelude depends on emacs $RED 24$RESET !\n"
printf "$YELLOW WARNING:$RESET Prelude requires Emacs $RED 25$RESET or newer!\n"
fi
if [ -f "$HOME/.emacs" ]