Add auto-package-update-maybe to after-init-hook
I somehow missed that step…
This commit is contained in:
parent
4cdbd9d19a
commit
b1db7426b4
2
.gitignore
vendored
2
.gitignore
vendored
@ -17,6 +17,8 @@
|
||||
/smex-items
|
||||
/var/
|
||||
/anaconda-mode/
|
||||
/.last-package-update-day
|
||||
|
||||
# All hail use-package!
|
||||
/elpa/
|
||||
|
||||
|
5
init.el
5
init.el
@ -829,7 +829,10 @@
|
||||
:ensure t
|
||||
:config
|
||||
(setq auto-package-update-interval 7
|
||||
auto-package-update-delete-old-versions t))
|
||||
auto-package-update-delete-old-versions t)
|
||||
;; Let’s do this in after-init-hook, as use-package invocations may modify
|
||||
;; the list of installed packages
|
||||
(add-hook 'after-init-hook 'auto-package-update-maybe))
|
||||
|
||||
(use-package cookie1
|
||||
:demand t
|
||||
|
Loading…
Reference in New Issue
Block a user