|
8 | 8 |
|
9 | 9 | (eval-and-compile
|
10 | 10 | (setq straight-repository-branch "develop"
|
11 |
| - straight-check-for-modifications 'live |
| 11 | + straight-check-for-modifications '(check-on-save) |
12 | 12 | straight-use-package-version 'ensure
|
13 | 13 | straight-use-package-by-default t
|
14 | 14 | straight-recipes-gnu-elpa-use-mirror t)
|
15 | 15 |
|
16 | 16 | (defvar bootstrap-version)
|
17 |
| -(let ((bootstrap-file |
18 |
| - (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) |
19 |
| - (bootstrap-version 6)) |
20 |
| - (unless (file-exists-p bootstrap-file) |
21 |
| - (with-current-buffer |
22 |
| - (url-retrieve-synchronously |
23 |
| - "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el" |
24 |
| - 'silent 'inhibit-cookies) |
25 |
| - (goto-char (point-max)) |
26 |
| - (eval-print-last-sexp))) |
27 |
| - (load bootstrap-file nil 'nomessage))) |
| 17 | + (let ((bootstrap-file |
| 18 | + (expand-file-name |
| 19 | + "straight/repos/straight.el/bootstrap.el" |
| 20 | + (or (bound-and-true-p straight-base-dir) |
| 21 | + user-emacs-directory))) |
| 22 | + (bootstrap-version 7)) |
| 23 | + (unless (file-exists-p bootstrap-file) |
| 24 | + (with-current-buffer |
| 25 | + (url-retrieve-synchronously |
| 26 | + "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el" |
| 27 | + 'silent 'inhibit-cookies) |
| 28 | + (goto-char (point-max)) |
| 29 | + (eval-print-last-sexp))) |
| 30 | + (load bootstrap-file nil 'nomessage))) |
28 | 31 |
|
29 | 32 | ;; =============================================
|
30 | 33 | ;; Setup use-package
|
|
0 commit comments