From 800b978c1a70fe11f6bc691b2b8f593f651024be Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 22 Jun 2018 13:50:58 +0200 Subject: emacs: auto-compile asynchronously --- emacs/.emacs.d/main.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 481eb9b..01acd49 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -1908,10 +1908,10 @@ With two prefix arguments, write out the day and month name." ;;;;; 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 -- cgit 1.4.1