aboutsummaryrefslogtreecommitdiff
path: root/straight-bootstrap.el
diff options
context:
space:
mode:
authorlemurianmage <azureazure@disroot.org>2026-01-30 15:08:21 +0100
committerlemurianmage <azureazure@disroot.org>2026-01-30 15:08:21 +0100
commitaed94b16cd3c16bdb05d7eb94fb4ffe01f44c6c8 (patch)
tree5696b7f09aa26ae4ba35fd57fbb4e04f47228ce5 /straight-bootstrap.el
parentbcb6044594c3451a3186425be9b3f4929558a00a (diff)
downloaddotemacs-aed94b16cd3c16bdb05d7eb94fb4ffe01f44c6c8.tar.gz
various little changes
Diffstat (limited to 'straight-bootstrap.el')
-rw-r--r--straight-bootstrap.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/straight-bootstrap.el b/straight-bootstrap.el
new file mode 100644
index 0000000..11ccfa1
--- /dev/null
+++ b/straight-bootstrap.el
@@ -0,0 +1,15 @@
+(defvar bootstrap-version)
+(let ((bootstrap-file
+ (expand-file-name
+ "straight/repos/straight.el/bootstrap.el"
+ (or (bound-and-true-p straight-base-dir)
+ user-emacs-directory)))
+ (bootstrap-version 7))
+ (unless (file-exists-p bootstrap-file)
+ (with-current-buffer
+ (url-retrieve-synchronously
+ "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
+ 'silent 'inhibit-cookies)
+ (goto-char (point-max))
+ (eval-print-last-sexp)))
+ (load bootstrap-file nil 'nomessage))