straight/org fixup
This commit is contained in:
18
init.el
18
init.el
@@ -3,6 +3,24 @@
|
||||
;; This file loads Org and then loads the rest of our Emacs initialization from Emacs lisp
|
||||
;; embedded in literate Org files.
|
||||
|
||||
(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))
|
||||
|
||||
(straight-use-package 'org)
|
||||
|
||||
;; Load up Org Mode and (now included) Org Babel for elisp embedded in Org Mode files
|
||||
(setq dotfiles-dir (file-name-directory (or (buffer-file-name) load-file-name)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user