diff options
Diffstat (limited to 'early-init.el')
-rw-r--r-- | early-init.el | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/early-init.el b/early-init.el index 4b67629..80d91db 100644 --- a/early-init.el +++ b/early-init.el | |||
@@ -34,6 +34,8 @@ | |||
34 | (package-initialize) | 34 | (package-initialize) |
35 | (unless package-archive-contents | 35 | (unless package-archive-contents |
36 | (package-refresh-contents)) | 36 | (package-refresh-contents)) |
37 | (unless (package-installed-p 'use-package) | ||
38 | (package-install 'use-package)) | ||
37 | 39 | ||
38 | (setq use-package-enable-imenu-support t | 40 | (setq use-package-enable-imenu-support t |
39 | use-package-hook-name-suffix nil) | 41 | use-package-hook-name-suffix nil) |
@@ -47,10 +49,10 @@ | |||
47 | (when (memq :ensure body) | 49 | (when (memq :ensure body) |
48 | (add-to-list 'package-selected-packages name))) | 50 | (add-to-list 'package-selected-packages name))) |
49 | 51 | ||
50 | (use-package use-package-vc | 52 | ;; (use-package use-package-vc |
51 | :load-path "~/src/emacs/use-package-vc.el/" | 53 | ;; :load-path "~/src/emacs/use-package-vc.el/" |
52 | :config | 54 | ;; :config |
53 | (define-advice package-vc-install (:around (orig &rest args) wtf) | 55 | ;; (define-advice package-vc-install (:around (orig &rest args) wtf) |
54 | "Don't freak out about `package-archives' shit." | 56 | ;; "Don't freak out about `package-archives' shit." |
55 | (let ((package-archives nil)) | 57 | ;; (let ((package-archives nil)) |
56 | (apply orig args)))) | 58 | ;; (apply orig args)))) |