diff options
| author | Franck Cuny <franck@fcuny.net> | 2023-01-22 11:37:42 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2023-01-22 11:37:42 -0800 |
| commit | 9d17672403563d62cb6e17c9dfb3854b5f9e4972 (patch) | |
| tree | e409902a4bde7b1457caba6aba8f067f4bc217d0 /emacs/init.el | |
| parent | ref(python): use ipython as the interpreter (diff) | |
| download | emacs.d-9d17672403563d62cb6e17c9dfb3854b5f9e4972.tar.gz | |
ref(packages): stop using straight.el
The default package manager is good enough for my need.
Change-Id: I830f1fa6b27ba89b2b01ae3cede5763d2f9d5960
Diffstat (limited to '')
| -rw-r--r-- | emacs/init.el | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/emacs/init.el b/emacs/init.el index b1a6de6..4b66932 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -16,23 +16,13 @@ (setq gc-cons-threshold 64000000) ;; configure straight to manage packages -(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)) (add-to-list 'load-path (expand-file-name "custom/" user-emacs-directory)) (add-to-list 'load-path (expand-file-name "elisp/" user-emacs-directory)) +;; run package installation (require 'my-packages) +(my/install-packages) (require 'envrc) (envrc-global-mode) |
