summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 481eb9b3..01acd498 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