fix(cli): persist correct doom-log-level to after-scripts

This commit is contained in:
Henrik Lissner 2024-09-12 16:11:03 -04:00
parent 0e5935f0f7
commit 41987bb00f
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -1141,7 +1141,7 @@ Emacs' batch library lacks an implementation of the exec system call."
`(("DOOMPROFILE" . ,(ignore-errors (doom-profile->id doom-profile)))
("EMACSDIR" . ,doom-emacs-dir)
("DOOMDIR" . ,doom-user-dir)
("DEBUG" . ,(if init-file-debug "1"))
("DEBUG" . ,(if init-file-debug (number-to-string doom-log-level)))
("__DOOMPID" . ,(number-to-string (doom-cli-context-pid context)))
("__DOOMSTEP" . ,(number-to-string (doom-cli-context-step context)))
("__DOOMCONTEXT" . ,context-file))