From d23b7160cfc4c809b59c4ecc6fb6243ef55e2855 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Thu, 25 Jun 2020 20:03:42 -0400 Subject: [PATCH] Use vendored use-package older version doesn't work on emacs 28 so need latest from github --- emacs.d/custom.el | 2 +- emacs.d/init.el | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/emacs.d/custom.el b/emacs.d/custom.el index c17e376..2031554 100644 --- a/emacs.d/custom.el +++ b/emacs.d/custom.el @@ -4,7 +4,7 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages - '(python-black cython-mode scss-mode vue-mode tide rust-mode company-auctex tex-site auctex sphinx-doc company-lsp lsp-ui lsp-mode ws-butler use-package smartparens pip-requirements osx-clipboard monokai-theme markdown-mode helm-projectile helm-ag godoctor go-guru go-eldoc go-autocomplete flycheck-gometalinter doom-modeline dockerfile-mode docker-compose-mode diminish company-go company-anaconda))) + '(go-mode company projectile helm python-black cython-mode scss-mode vue-mode tide rust-mode company-auctex tex-site auctex sphinx-doc company-lsp lsp-ui lsp-mode ws-butler use-package smartparens pip-requirements osx-clipboard monokai-theme markdown-mode helm-projectile helm-ag godoctor go-guru go-eldoc go-autocomplete flycheck-gometalinter doom-modeline dockerfile-mode docker-compose-mode diminish company-go company-anaconda))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/emacs.d/init.el b/emacs.d/init.el index 8327218..52ab2a8 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -51,13 +51,10 @@ (when (not package-archive-contents) (package-refresh-contents)) - (unless (package-installed-p 'use-package) - (package-refresh-contents) - (package-install 'use-package)) - ;; Configure use-package ;; https://github.com/jwiegley/use-package (eval-when-compile + (add-to-list 'load-path "~/.emacs.d/use-package/") (require 'use-package)) (setq use-package-always-ensure t)