Set doom-debug-mode on DEBUG envar or debug-on-error
This commit is contained in:
parent
f2a31e9d87
commit
25be590b79
1 changed files with 3 additions and 3 deletions
|
@ -21,9 +21,9 @@
|
|||
(defvar doom-version "2.0.0"
|
||||
"Current version of DOOM emacs")
|
||||
|
||||
(defvar doom-debug-mode nil
|
||||
"If non-nil, all loading functions will be verbose and `use-package-debug'
|
||||
will be set.")
|
||||
(defvar doom-debug-mode (or (getenv "DEBUG") debug-on-error)
|
||||
"If non-nil, all doom functions will be verbose. Set DEBUG=1 in the command
|
||||
line or use --debug-init to enable this.")
|
||||
|
||||
(defvar doom-emacs-dir user-emacs-directory
|
||||
"The path to this emacs.d directory")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue