summaryrefslogtreecommitdiff
path: root/.emacs.d/plugins.el
diff options
context:
space:
mode:
authorSteph Enders <steph@senders.io>2023-03-30 20:34:16 -0400
committerSteph Enders <steph@senders.io>2023-03-30 20:34:16 -0400
commit3b3343b7b3cb93274fbb5605d982f41b1d26ade3 (patch)
tree4f1a6583704ce3a512015d7cb7ed136080bb27ef /.emacs.d/plugins.el
parentdb3234af86b45ac1eb1189b9615dab91c1fa7f42 (diff)
Reorganize emacs.d - use straight.el
Major restructuring of the emacs directory: - moved .emacs to .emacs.d/init.el - setup early-init.el (as per straight.el directions) - moved major things into plugins.el - moved package installs into packages.el
Diffstat (limited to '.emacs.d/plugins.el')
-rw-r--r--.emacs.d/plugins.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/.emacs.d/plugins.el b/.emacs.d/plugins.el
new file mode 100644
index 0000000..d4c8983
--- /dev/null
+++ b/.emacs.d/plugins.el
@@ -0,0 +1,14 @@
+;; here is where you can paste all the non self-customized files
+
+(defvar bootstrap-version)
+(let ((bootstrap-file
+ (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
+ (bootstrap-version 6))
+ (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))