all repos — archive/dotfiles @ 800b978c1a70fe11f6bc691b2b8f593f651024be

Superseded by nixfiles

emacs: auto-compile asynchronously
Alan Pearce alan@alanpearce.eu
Fri, 22 Jun 2018 13:50:58 +0200
commit

800b978c1a70fe11f6bc691b2b8f593f651024be

parent

06a4cfad4e41aab209fb32934c7603ddc6759451

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -1908,10 +1908,10 @@ (add-hook 'cider-mode-hook #'eldoc-mode))) 
 ;;;;; 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