diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2024-01-22 21:30:50 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-22 21:30:50 -0300 |
| commit | 3f39dc344e28a88d2ccc84574351c844c56a5329 (patch) | |
| tree | 0e314e87679ab87c98d83d0ecc31b0fd4f8c8a6f /init.el | |
| parent | b80f634b9e4aa6c13d894064a7001fcc5cfa1cbf (diff) | |
| download | MageMacs-3f39dc344e28a88d2ccc84574351c844c56a5329.tar.gz MageMacs-3f39dc344e28a88d2ccc84574351c844c56a5329.zip | |
clean packaging with straight
Diffstat (limited to 'init.el')
| -rwxr-xr-x | init.el | 23 |
1 files changed, 19 insertions, 4 deletions
@@ -1,8 +1,23 @@ -(require 'package) -(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) -(package-initialize) +(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)) + +(setq package-enable-at-startup nil) + +(straight-use-package 'use-package) (load-file "~/.emacs.d/theme.el") (load-file "~/.emacs.d/behaviour.el") (load-file "~/.emacs.d/configuration.el") - |
