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

@@ -111,7 +111,7 @@ the first, fresh scratch buffer you create. This accepts:
(remove-hook 'doom-switch-buffer-hook #'doom-persist-scratch-buffers-after-switch-h)))
;;;###autoload
(unless noninteractive
(when doom-interactive-p
(add-hook 'kill-emacs-hook #'doom-persist-scratch-buffers-h))