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)
downloaddotfiles-04282bd74329cfb3efecdf557c5bae4c892409aa.tar.lz
dotfiles-04282bd74329cfb3efecdf557c5bae4c892409aa.tar.zst
dotfiles-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 960ad8f..6801294 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