Add emacs version check to core/core.el

This commit is contained in:
Henrik Lissner 2017-05-19 22:25:40 +02:00
parent 656452df00
commit 9dd66381dc

View file

@ -1,5 +1,9 @@
;;; core.el --- The heart of the beast
(eval-when-compile
(when (version< emacs-version "25.1")
(error "Emacs v%s detected, DOOM only supports >25.1" emacs-version)))
;;; Naming conventions:
;;
;; doom-... public variables or functions (non-interactive)