Change doom-{interactive,debug}-mode suffix to -p

Because these are not really modes.

Also makes `doom-debug-mode` an actual (global) minor mode.
This commit is contained in:
Henrik Lissner
2020-05-25 02:58:07 -04:00
parent 4f46140226
commit 3a38fc633c
20 changed files with 50 additions and 48 deletions

View File

@@ -92,7 +92,7 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
;; fully loaded. Which usually aren't so in an noninteractive session.
(let ((load-prefer-newer t)
(noninteractive t)
doom-interactive-mode)
doom-interactive-p)
(doom-initialize 'force)
(quiet! (doom-initialize-packages))))
@@ -180,7 +180,7 @@ module. This does not include your byte-compiled, third party packages.'"
(print-group!
(cl-loop with default-directory = doom-emacs-dir
with success = 0
with esc = (if doom-debug-mode "" "\033[1A")
with esc = (if doom-debug-p "" "\033[1A")
for path
in (append (doom-glob doom-emacs-dir "*.elc")
(doom-files-in doom-private-dir :match "\\.elc$" :depth 1)