Add --quick to Emacs batch calls (experimental)

This commit is contained in:
Henrik Lissner 2017-11-07 13:09:24 +01:00
parent 075b4557f6
commit 5f166d9297
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 3 additions and 3 deletions

View file

@ -603,7 +603,7 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
(if (not noninteractive)
(let ((compilation-filter-hook
(list (lambda () (ansi-color-apply-on-region compilation-filter-start (point))))))
(compile (format "%s --batch -l core/core.el -f doom//byte-compile %s %s"
(compile (format "%s --quick --batch -l core/core.el -f doom//byte-compile %s %s"
(executable-find "emacs")
(if recompile-p "-r" "")
(if modules (string-join modules " ") ""))))