.emacs.d

the most bloated Emacs config on this planet
git clone https://git.trogloxene.org/.emacs.d.git
Log | Files | Refs

init-elpa.el (1169B)


      1 ;;; init-elpa.el --- package manager -*- lexical-binding: t -*-
      2 
      3 ;;; Commentary:
      4 
      5 ;;; Code:
      6 
      7 ;; straight.el
      8 
      9 (defvar bootstrap-version)
     10 (let ((bootstrap-file
     11        (expand-file-name
     12         "straight/repos/straight.el/bootstrap.el"
     13         (or (bound-and-true-p straight-base-dir)
     14             user-emacs-directory)))
     15       (bootstrap-version 7))
     16   (unless (file-exists-p bootstrap-file)
     17     (with-current-buffer
     18         (url-retrieve-synchronously
     19          "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
     20          'silent 'inhibit-cookies)
     21       (goto-char (point-max))
     22       (eval-print-last-sexp)))
     23   (load bootstrap-file nil 'nomessage))
     24 
     25 ;; el-patch
     26 (use-package el-patch
     27   :straight t)
     28 
     29 ;; install use-package
     30 (if (< emacs-major-version 29)
     31     (straight-use-package 'use-package))
     32 
     33 ;; configure use-package
     34 (setq use-package-always-defer t
     35       use-package-expand-minimally t
     36       use-package-verbose nil
     37       use-package-compute-statistics t
     38       straight-use-package-version t
     39       straight-use-package-by-default t)
     40 
     41 ;; imenu
     42 (setopt use-package-enable-imenu-support t)
     43 
     44 (provide 'init-elpa)
     45 ;;; init-elpa.el ends here