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
|
/smex-items
|
||||||
/var/
|
/var/
|
||||||
/anaconda-mode/
|
/anaconda-mode/
|
||||||
|
/.last-package-update-day
|
||||||
|
|
||||||
# All hail use-package!
|
# All hail use-package!
|
||||||
/elpa/
|
/elpa/
|
||||||
|
|
||||||
|
5
init.el
5
init.el
@ -829,7 +829,10 @@
|
|||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
(setq auto-package-update-interval 7
|
(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
|
(use-package cookie1
|
||||||
:demand t
|
:demand t
|
||||||
|
Loading…
Reference in New Issue
Block a user