eval-when-compile EMACS2*+ consts
This commit is contained in:
parent
866030bdc6
commit
a1b385a23d
1 changed files with 5 additions and 3 deletions
|
@ -7,6 +7,11 @@
|
||||||
"If non-nil, all doom functions will be verbose. Set DEBUG=1 in the command
|
"If non-nil, all doom functions will be verbose. Set DEBUG=1 in the command
|
||||||
line or use --debug-init to enable this.")
|
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
|
(defvar doom-emacs-dir
|
||||||
(eval-when-compile (file-truename user-emacs-directory))
|
(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
|
"Where your private customizations are placed. Must end in a slash. Respects
|
||||||
XDG directory conventions if ~/.config/doom exists.")
|
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
|
;; UTF-8 as the default coding system
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue