mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
eval-when-compile EMACS2*+ consts
This commit is contained in:
@ -7,6 +7,11 @@
|
||||
"If non-nil, all doom functions will be verbose. Set DEBUG=1 in the command
|
||||
line or use --debug-init to enable this.")
|
||||
|
||||
(defconst EMACS26+
|
||||
(eval-when-compile (not (version< emacs-version "26"))))
|
||||
(defconst EMACS27+
|
||||
(eval-when-compile (not (version< emacs-version "27"))))
|
||||
|
||||
;;
|
||||
(defvar doom-emacs-dir
|
||||
(eval-when-compile (file-truename user-emacs-directory))
|
||||
@ -47,9 +52,6 @@ Use this for files that change often, like cache files.")
|
||||
"Where your private customizations are placed. Must end in a slash. Respects
|
||||
XDG directory conventions if ~/.config/doom exists.")
|
||||
|
||||
(defconst EMACS26+ (not (version< emacs-version "26")))
|
||||
(defconst EMACS27+ (not (version< emacs-version "27")))
|
||||
|
||||
|
||||
;;;
|
||||
;; UTF-8 as the default coding system
|
||||
|
Reference in New Issue
Block a user