about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-09-04 18:24:40 -0500
committerCase Duckworth2020-09-04 18:24:40 -0500
commit7c82500f2fe0550408517cb497ba56852bd1cc59 (patch)
tree3909156de1f4c7699fd6644ec20fe60bdbe8cd15
parentFix stuff up and things ... add pkgs? IDK Whatever (diff)
downloademacs-7c82500f2fe0550408517cb497ba56852bd1cc59.tar.gz
emacs-7c82500f2fe0550408517cb497ba56852bd1cc59.zip
Setup template for platform-specificity
still TODO: write the actual code.
-rw-r--r--early-init.el10
1 files changed, 10 insertions, 0 deletions
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 @@
1;;; early-init.el ~ acdw 1;;; early-init.el ~ acdw
2 2
3;;; different platforms
4(setq my/is-windows-p (eq system-type 'windows-nt)
5 my/is-linux-p (eq system-type 'gnu/linux)
6 ;; TODO my/is-larry-p, my/is-bax-p (hostname)
7 )
8
9(when my/is-windows-p
10 (setenv "PATH" (concat "path/to/git" ";" (getenv "PATH"))))
11
12
3;;; gui 13;;; gui
4(push '(tool-bar-lines . 0) default-frame-alist) 14(push '(tool-bar-lines . 0) default-frame-alist)
5(push '(menu-bar-lines . 0) default-frame-alist) 15(push '(menu-bar-lines . 0) default-frame-alist)