From 04282bd74329cfb3efecdf557c5bae4c892409aa Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 17 Oct 2018 22:27:20 +0200 Subject: Emacs: Only enable async byte compile if loaded --- emacs/.emacs.d/main.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'emacs') 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 -- cgit 1.4.1