blob: 5e6217521b491b0ea091fc4b5161a728179efb1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
;;; early-init.el -*- lexical-binding: t; no-byte-compile: t -*-
(setq load-prefer-newer t)
;;; Bootstrap `straight.el'
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el"
user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
;;; Bootstrap `use-package'
(setq straight-use-package-by-default t)
(straight-use-package 'use-package)
|