From 1cace80e4832a5d250ef4b7ccd687996563fb01b Mon Sep 17 00:00:00 2001 From: venomade Date: Thu, 27 Feb 2025 17:06:42 +0000 Subject: Add old dotfiles --- emacs-elisp/config/straight.el | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 emacs-elisp/config/straight.el (limited to 'emacs-elisp/config/straight.el') diff --git a/emacs-elisp/config/straight.el b/emacs-elisp/config/straight.el new file mode 100644 index 0000000..06592a5 --- /dev/null +++ b/emacs-elisp/config/straight.el @@ -0,0 +1,15 @@ +;; Setup the straight package manager to use the use-package syntax +(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)) + +(setq straight-use-package-by-default t) -- cgit 1.4.1-2-gfad0