mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Move OS constants to core/core.el
So it is universally available to all of Doom, rather than excluding sessions that haven't called doom-initialize interactively.
This commit is contained in:
@ -16,6 +16,10 @@ line or use --debug-init to enable this.")
|
||||
(eval-when-compile (not (version< emacs-version "26"))))
|
||||
(defconst EMACS27+
|
||||
(eval-when-compile (not (version< emacs-version "27"))))
|
||||
(defconst IS-MAC (eq system-type 'darwin))
|
||||
(defconst IS-LINUX (eq system-type 'gnu/linux))
|
||||
(defconst IS-WINDOWS (memq system-type '(cygwin windows-nt ms-dos)))
|
||||
|
||||
|
||||
;;
|
||||
(defvar doom-emacs-dir
|
||||
|
Reference in New Issue
Block a user