diff --git a/core/cli/byte-compile.el b/core/cli/byte-compile.el index 6857a29d8..f42e1fe38 100644 --- a/core/cli/byte-compile.el +++ b/core/cli/byte-compile.el @@ -21,6 +21,13 @@ and your private config files, respectively. To recompile your packages, use doom-core-dir)) (when private-p (list doom-private-dir))) + (or (y-or-n-p + (concat "WARNING: Changes made to your config after compiling it won't take effect until\n" + "this command is rerun or you run 'doom clean'! It will also make error backtraces\n" + "much more difficult to decipher.\n\n" + "If you intend to use it anyway, remember this or it will come back to bite you!\n\n" + "Continue anyway?")) + (user-error "Aborted")) (append (list (doom-glob doom-emacs-dir "init.el") doom-core-dir) (cl-remove-if-not