Fix bin/doom ignoring -d flag

defconst -> defvar
This commit is contained in:
Henrik Lissner 2018-06-15 00:25:20 +02:00
parent 40e4c872f4
commit db8b4091dd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -5,6 +5,10 @@
(error "Detected Emacs %s. Doom only supports Emacs 25.1 and higher"
emacs-version)))
(defvar doom-debug-mode (or (getenv "DEBUG") init-file-debug)
"If non-nil, all doom functions will be verbose. Set DEBUG=1 in the command
line or use --debug-init to enable this.")
;;
;; Constants
@ -13,10 +17,6 @@
(defconst doom-version "2.0.9"
"Current version of DOOM emacs.")
(defconst doom-debug-mode (or (getenv "DEBUG") init-file-debug)
"If non-nil, all doom functions will be verbose. Set DEBUG=1 in the command
line or use --debug-init to enable this.")
(defconst EMACS26+
(eval-when-compile (not (version< emacs-version "26"))))
(defconst EMACS27+