mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Set doom-debug-mode on DEBUG envar or debug-on-error
This commit is contained in:
@ -21,9 +21,9 @@
|
|||||||
(defvar doom-version "2.0.0"
|
(defvar doom-version "2.0.0"
|
||||||
"Current version of DOOM emacs")
|
"Current version of DOOM emacs")
|
||||||
|
|
||||||
(defvar doom-debug-mode nil
|
(defvar doom-debug-mode (or (getenv "DEBUG") debug-on-error)
|
||||||
"If non-nil, all loading functions will be verbose and `use-package-debug'
|
"If non-nil, all doom functions will be verbose. Set DEBUG=1 in the command
|
||||||
will be set.")
|
line or use --debug-init to enable this.")
|
||||||
|
|
||||||
(defvar doom-emacs-dir user-emacs-directory
|
(defvar doom-emacs-dir user-emacs-directory
|
||||||
"The path to this emacs.d directory")
|
"The path to this emacs.d directory")
|
||||||
|
Reference in New Issue
Block a user