summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-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 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