doom compile: add warning
This commit is contained in:
parent
ac46ae7eb3
commit
a2ccae917e
1 changed files with 7 additions and 0 deletions
|
@ -21,6 +21,13 @@ and your private config files, respectively. To recompile your packages, use
|
||||||
doom-core-dir))
|
doom-core-dir))
|
||||||
(when private-p
|
(when private-p
|
||||||
(list doom-private-dir)))
|
(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")
|
(append (list (doom-glob doom-emacs-dir "init.el")
|
||||||
doom-core-dir)
|
doom-core-dir)
|
||||||
(cl-remove-if-not
|
(cl-remove-if-not
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue