Setup template for platform-specificity

still TODO: write the actual code.
This commit is contained in:
Case Duckworth 2020-09-04 18:24:40 -05:00
parent 62a08aefd9
commit 7c82500f2f
1 changed files with 10 additions and 0 deletions

View File

@ -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)