Fix :defer-incrementally t

Should be the same as :defer-incrementally (<package-name>)
This commit is contained in:
Henrik Lissner 2018-09-21 22:43:52 -04:00
parent 9726a982d1
commit 75ad188e01
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 4 deletions

View file

@ -216,9 +216,9 @@ non-nil, return paths of possible modules, activated or otherwise."
(defun use-package-handler/:defer-incrementally (name _keyword targets rest state)
(use-package-concat
`((doom-load-packages-incrementally
',(if (listp targets)
targets
(list name))))
',(if (equal targets '(t))
(list name)
targets)))
(use-package-process-keywords name rest state)))
(defalias 'use-package-normalize/:after-call 'use-package-normalize-symlist)