summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-06-22 13:50:58 +0200
committerAlan Pearce2018-06-22 13:50:58 +0200
commit800b978c1a70fe11f6bc691b2b8f593f651024be (patch)
tree2375a839d7f5a8210c214d8d795e02e75c0a53db
parent06a4cfad4e41aab209fb32934c7603ddc6759451 (diff)
downloadnixfiles-800b978c1a70fe11f6bc691b2b8f593f651024be.tar.lz
nixfiles-800b978c1a70fe11f6bc691b2b8f593f651024be.tar.zst
nixfiles-800b978c1a70fe11f6bc691b2b8f593f651024be.zip
emacs: auto-compile asynchronously
-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