From 7c82500f2fe0550408517cb497ba56852bd1cc59 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 4 Sep 2020 18:24:40 -0500 Subject: [PATCH] Setup template for platform-specificity still TODO: write the actual code. --- early-init.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/early-init.el b/early-init.el index 17d0579..0ec6fb9 100644 --- a/early-init.el +++ b/early-init.el @@ -1,5 +1,15 @@ ;;; early-init.el ~ acdw +;;; different platforms +(setq my/is-windows-p (eq system-type 'windows-nt) + my/is-linux-p (eq system-type 'gnu/linux) + ;; TODO my/is-larry-p, my/is-bax-p (hostname) + ) + +(when my/is-windows-p + (setenv "PATH" (concat "path/to/git" ";" (getenv "PATH")))) + + ;;; gui (push '(tool-bar-lines . 0) default-frame-alist) (push '(menu-bar-lines . 0) default-frame-alist)