From b54604b48bbb91e8b19967ac27c4f19e1c39dcec Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 31 Jan 2017 18:59:14 -0500 Subject: [PATCH] core.el: add IS-{MAC,LINUX} constants --- core/core.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/core.el b/core/core.el index 196cdcebc..02fbae324 100644 --- a/core/core.el +++ b/core/core.el @@ -52,6 +52,9 @@ will be set.") (defvar doom-org-dir "~/org/" "Where to find org notes") +(defconst IS-MAC (eq system-type 'darwin)) +(defconst IS-LINUX (eq system-type 'gnu/linux)) + ;;; ;; UTF-8 as the default coding system, please