mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Complain if using Emacs <25
More helpful than advice-add errors.
This commit is contained in:
@ -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.")
|
||||
|
||||
|
Reference in New Issue
Block a user