From 9dd66381dcf26916cf96682f15ef864a41b4a6f8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 19 May 2017 22:25:40 +0200 Subject: [PATCH] Add emacs version check to core/core.el --- core/core.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/core.el b/core/core.el index a2fdf2bf4..72703e258 100644 --- a/core/core.el +++ b/core/core.el @@ -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)