Add links to config files in describe-packages

Also dims packages that aren't installed.
This commit is contained in:
Henrik Lissner 2019-03-05 01:53:52 -05:00
parent cf5a398e0d
commit cfa97470fc
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 107 additions and 65 deletions

View file

@ -222,7 +222,9 @@ BODY is evaluated once TARGETS are loaded. TARGETS can either be:
#'progn
#'with-no-warnings)
(if (symbolp targets)
`(with-eval-after-load ',targets ,@body)
`(progn
(doom-module-register-config ',targets ,(FILE!))
(with-eval-after-load ',targets ,@body))
(pcase (car-safe targets)
((or :or :any)
(macroexp-progn