feat: add doctor context

Ref: f9201eb218
This commit is contained in:
Henrik Lissner 2023-02-23 01:16:38 -05:00
parent 7cc946a74b
commit 357d10f5a7
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
2 changed files with 37 additions and 36 deletions

View file

@ -487,7 +487,7 @@ All valid contexts:
sandbox -- This session was launched from Doom's sandbox.
packages -- when packagedefs are being read
reload -- while reloading doom")
(put 'doom-context 'valid-values '(cli compile eval init modules packages reload sandbox))
(put 'doom-context 'valid-values '(cli compile eval init modules packages reload doctor sandbox))
(put 'doom-context 'risky-local-variable t)
(defun doom-context--check (context)