Remove :when support from after!; add defer-until!

New macro does what the :when keyword did for after!.
This commit is contained in:
Henrik Lissner 2018-06-27 21:29:28 +02:00
parent e9ccc09fe4
commit 5a7c8803d9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 21 additions and 18 deletions

View file

@ -7,7 +7,7 @@
DOCSET (a string).
See `devdocs-alist' for the defaults. "
(after! (:when (boundp 'devdocs-alist))
(defer-until! (boundp 'devdocs-alist)
(dolist (mode (doom-enlist modes))
(setf (alist-get mode devdocs-alist) docset))))