|
|
;; Set up straight.el
|
|
|
(setq
|
|
|
straight-profiles `((nil . ,(expand-file-name "straight.lock.el" user-emacs-directory)))
|
|
|
straight-use-package-by-default t)
|
|
|
(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))
|
|
|
(straight-use-package 'use-package)
|
|
|
|
|
|
;; Load bootstrap.org for actual setup
|
|
|
(use-package org-contrib
|
|
|
:config
|
|
|
(org-babel-load-file
|
|
|
(expand-file-name "uno/bootstrap.org" user-emacs-directory)))
|