feat: add EMACS29+ constant

This commit is contained in:
Henrik Lissner 2022-01-12 01:48:15 +01:00
parent e7eaa3b256
commit 2c02cea461

View file

@ -47,6 +47,7 @@ envvar will enable this at startup.")
(defconst NATIVECOMP (if (fboundp 'native-comp-available-p) (native-comp-available-p))) (defconst NATIVECOMP (if (fboundp 'native-comp-available-p) (native-comp-available-p)))
(defconst EMACS28+ (> emacs-major-version 27)) (defconst EMACS28+ (> emacs-major-version 27))
(defconst EMACS29+ (> emacs-major-version 28))
(defconst IS-MAC (eq system-type 'darwin)) (defconst IS-MAC (eq system-type 'darwin))
(defconst IS-LINUX (eq system-type 'gnu/linux)) (defconst IS-LINUX (eq system-type 'gnu/linux))
(defconst IS-WINDOWS (memq system-type '(cygwin windows-nt ms-dos))) (defconst IS-WINDOWS (memq system-type '(cygwin windows-nt ms-dos)))