Add EMACS26+ & EMACS27+ constants

This commit is contained in:
Henrik Lissner 2018-03-24 04:40:24 -04:00
parent b5db4f1fb6
commit 5eadfdc880
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 7 additions and 4 deletions

View file

@ -56,6 +56,9 @@ Use this for files that change often, like cache files.")
(defvar doom-packages-dir (concat doom-local-dir "packages/")
"Where package.el and quelpa plugins (and their caches) are stored.")
(defconst EMACS26+ (not (version< emacs-version "26")))
(defconst EMACS27+ (not (version< emacs-version "27")))
;;;
;; UTF-8 as the default coding system