Add auto-package-update-maybe to after-init-hook

I somehow missed that step…
This commit is contained in:
Gergely Polonkai 2016-11-25 10:18:35 +01:00
parent 4cdbd9d19a
commit b1db7426b4
2 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View File

@ -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/

View File

@ -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)
;; Lets 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