Complain if using Emacs <25
More helpful than advice-add errors.
This commit is contained in:
parent
fa37d7b05e
commit
a19a64b16b
1 changed files with 5 additions and 0 deletions
|
@ -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.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue