emacs: auto-compile asynchronously
Alan Pearce alan@alanpearce.eu
Fri, 22 Jun 2018 13:50:58 +0200
1 files changed, 3 insertions(+), 3 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -1908,10 +1908,10 @@ (add-hook 'cider-mode-hook #'eldoc-mode))) ;;;;; Auto-compile -;; Auto-compile emacs lisp when saving. -(use-package auto-compile +;; Auto-compile emacs lisp when saving, asynchronously. +(use-package auto-async-byte-compile :defer t - :init (add-hook 'emacs-lisp-mode-hook #'auto-compile-on-save-mode)) + :init (add-hook 'emacs-lisp-mode-hook #'enable-auto-async-byte-compile-mode)) ;;;;; cc-mode