Complain if using Emacs <25

More helpful than advice-add errors.
This commit is contained in:
Henrik Lissner 2018-05-19 18:01:49 +02:00
parent fa37d7b05e
commit a19a64b16b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -1,5 +1,10 @@
;;; core.el --- the heart of the beast -*- lexical-binding: t; -*-
(eval-when-compile
(when (version< emacs-version "25")
(error "Doom only supports Emacs 25.1 and higher!")))
;;
(defvar doom-version "2.0.9"
"Current version of DOOM emacs.")