diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -5,6 +5,34 @@ | |||
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 | (defvar bootstrap-version) | ||
21 | (let ((bootstrap-file | ||
22 | (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) | ||
23 | (bootstrap-version 6)) | ||
24 | (unless (file-exists-p bootstrap-file) | ||
25 | (with-current-buffer | ||
26 | (url-retrieve-synchronously | ||
27 | "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el" | ||
28 | 'silent 'inhibit-cookies) | ||
29 | (goto-char (point-max)) | ||
30 | (eval-print-last-sexp))) | ||
31 | (load bootstrap-file nil 'nomessage)) | ||
32 | |||
33 | |||
34 | |||
35 | ;; --------------------------------------------------------------------- | ||
8 | ;;; File Management | 36 | ;;; File Management |
9 | ;; ---------------- | 37 | ;; ---------------- |
10 | ;; Everything to do with file or directory management goes here. | 38 | ;; Everything to do with file or directory management goes here. |