diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | early-init.el | 21 | ||||
-rw-r--r-- | init.el | 43 |
3 files changed, 65 insertions, 0 deletions
@@ -1 +1,2 @@ | |||
1 | eln-cache/ | 1 | eln-cache/ |
2 | straight/ | ||
diff --git a/early-init.el b/early-init.el index 37222a4..f53a8bc 100644 --- a/early-init.el +++ b/early-init.el | |||
@@ -58,3 +58,24 @@ | |||
58 | ;; --------------------------------- | 58 | ;; --------------------------------- |
59 | 59 | ||
60 | (set-face-attribute 'default nil :background "#000000" :foreground "#FFFFFF") | 60 | (set-face-attribute 'default nil :background "#000000" :foreground "#FFFFFF") |
61 | |||
62 | |||
63 | |||
64 | |||
65 | ;; --------------------------------------------------------------------- | ||
66 | ;;; Package Management | ||
67 | ;; ------------------- | ||
68 | ;; Only one thing should be here. I only wrote this description so the | ||
69 | ;; formatting would be consistent. It's a useless comment. Something | ||
70 | ;; something package management. | ||
71 | ;; --------------------------------------------------------------------- | ||
72 | |||
73 | ;; --------------------------------- | ||
74 | ;; Disable package manager | ||
75 | ;; ----------------------- | ||
76 | ;; Disable the built-in package | ||
77 | ;; manager (`package.el'), because | ||
78 | ;; MMOSMacs will be using | ||
79 | ;; `straight.el' | ||
80 | ;; --------------------------------- | ||
81 | (setq package-enable-at-startup nil) | ||
@@ -5,6 +5,49 @@ | |||
5 | 5 | ||
6 | 6 | ||
7 | ;; --------------------------------------------------------------------- | 7 | ;; --------------------------------------------------------------------- |
8 | ;;; Package Management | ||
9 | ;; ----------------------------------- | ||
10 | ;; MMOSMacs uses `straight.el' for package management. | ||
11 | ;; --------------------------------------------------------------------- | ||
12 | |||
13 | ;; --------------------------------- | ||
14 | ;; Bootstrap `straight.el' | ||
15 | ;; ----------------------- | ||
16 | ;; This is some pre-written magic | ||
17 | ;; provided by `straight.el'. Dont | ||
18 | ;; ask me what it does. | ||
19 | ;; --------------------------------- | ||
20 | |||
21 | (defvar bootstrap-version) | ||
22 | (let ((bootstrap-file | ||
23 | (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) | ||
24 | (bootstrap-version 6)) | ||
25 | (unless (file-exists-p bootstrap-file) | ||
26 | (with-current-buffer | ||
27 | (url-retrieve-synchronously | ||
28 | "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el" | ||
29 | 'silent 'inhibit-cookies) | ||
30 | (goto-char (point-max)) | ||
31 | (eval-print-last-sexp))) | ||
32 | (load bootstrap-file nil 'nomessage)) | ||
33 | |||
34 | |||
35 | ;; --------------------------------- | ||
36 | ;; Don't load outdated code | ||
37 | ;; ------------------------ | ||
38 | ;; MMOSMacs is under highly active | ||
39 | ;; development and undergoes | ||
40 | ;; freuqent changes. The newest code | ||
41 | ;; should always be loaded | ||
42 | ;; --------------------------------- | ||
43 | |||
44 | ;; if a `.el' file is newer than its corresponding `.elc', load the `.el' | ||
45 | (setq load-prefer-newer t) | ||
46 | |||
47 | |||
48 | |||
49 | |||
50 | ;; --------------------------------------------------------------------- | ||
8 | ;;; File Management | 51 | ;;; File Management |
9 | ;; ---------------- | 52 | ;; ---------------- |
10 | ;; Everything to do with file or directory management goes here. | 53 | ;; Everything to do with file or directory management goes here. |