mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix: ensure empty DEBUG envvar is ignored
Also ensures the envvar is removed if it's empty, and doesn't permeate
an empty DEBUG when executing doom/reload.
Amend: 8c7711920e
Close: #8310
Co-authored-by: AjaiKN <AjaiKN@users.noreply.github.com>
This commit is contained in:
@ -45,7 +45,7 @@
|
||||
("EMACSDIR" doom-emacs-dir)
|
||||
("DOOMDIR" doom-user-dir)
|
||||
("DOOMLOCALDIR" doom-local-dir)
|
||||
("DEBUG" (if doom-debug-mode (number-to-string doom-log-level) "")))
|
||||
("DEBUG" (if doom-debug-mode (number-to-string doom-log-level))))
|
||||
(with-current-buffer
|
||||
(compile (format ,command (expand-file-name doom-bin doom-bin-dir)) t)
|
||||
(let ((w (get-buffer-window (current-buffer))))
|
||||
|
Reference in New Issue
Block a user