summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-10-17 22:27:20 +0200
committerAlan Pearce2018-10-17 22:27:20 +0200
commit04282bd74329cfb3efecdf557c5bae4c892409aa (patch)
tree3129299ea7c705c81454275d233916ed90accea8 /emacs
parent2f34d805d7a5ef43fd37c449b00a8c3affa2bc78 (diff)
downloadnixfiles-04282bd74329cfb3efecdf557c5bae4c892409aa.tar.lz
nixfiles-04282bd74329cfb3efecdf557c5bae4c892409aa.tar.zst
nixfiles-04282bd74329cfb3efecdf557c5bae4c892409aa.zip
Emacs: Only enable async byte compile if loaded
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 960ad8f3..68012945 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -1852,8 +1852,7 @@ With two prefix arguments, write out the day and month name."
 
 ;; Auto-compile emacs lisp when saving, asynchronously.
 (use-package auto-async-byte-compile
-  :defer t
-  :init (add-hook 'emacs-lisp-mode-hook #'enable-auto-async-byte-compile-mode))
+  :config (add-hook 'emacs-lisp-mode-hook #'enable-auto-async-byte-compile-mode))
 
 ;;;;; cc-mode