Fix -y option for bin/doom compile #875

This commit is contained in:
Henrik Lissner 2018-09-09 16:44:02 -04:00
parent 1535a8d64a
commit 41743869af

View file

@ -67,7 +67,7 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
(cl-return-from 'byte-compile t))
(unless (or (equal modules '(":core"))
recompile-p)
(unless (and (not doom-auto-accept)
(unless (or doom-auto-accept
(y-or-n-p
(concat "Warning: byte compiling is for advanced users. It will interfere with your\n"
"efforts to debug issues. It is not recommended you do it if you frequently\n"