Skip to content

Commit

Permalink
Update required Emacs version check
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Sep 16, 2020
1 parent e4e9b3c commit 091c3e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down

0 comments on commit 091c3e5

Please sign in to comment.