Update required Emacs version check
This commit is contained in:
parent
e4e9b3c36e
commit
091c3e53a7
1 changed files with 2 additions and 2 deletions
|
@ -175,9 +175,9 @@ fi
|
||||||
|
|
||||||
### Check emacs version
|
### 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')"
|
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
|
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
|
fi
|
||||||
|
|
||||||
if [ -f "$HOME/.emacs" ]
|
if [ -f "$HOME/.emacs" ]
|
||||||
|
|
Loading…
Reference in a new issue