;; --------------- Package manager --------------- ;; Use straight.el as our package manager (defvar bootstrap-version) (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)) ;; Emacs >= 27 (setq package-enable-at-startup nil) ;; Use straight by default (setq straight-use-package-by-default t) ;; use-package to manage them (download them with ":straight t") (straight-use-package 'use-package)