mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
feat: add EMACS29+ constant
This commit is contained in:
@ -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)))
|
||||||
|
Reference in New Issue
Block a user