diff options
author | Alan Pearce | 2018-06-22 13:50:58 +0200 |
---|---|---|
committer | Alan Pearce | 2018-06-22 13:50:58 +0200 |
commit | 800b978c1a70fe11f6bc691b2b8f593f651024be (patch) | |
tree | 2375a839d7f5a8210c214d8d795e02e75c0a53db | |
parent | 06a4cfad4e41aab209fb32934c7603ddc6759451 (diff) | |
download | dotfiles-800b978c1a70fe11f6bc691b2b8f593f651024be.tar.lz dotfiles-800b978c1a70fe11f6bc691b2b8f593f651024be.tar.zst dotfiles-800b978c1a70fe11f6bc691b2b8f593f651024be.zip |
emacs: auto-compile asynchronously
-rw-r--r-- | emacs/.emacs.d/main.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 481eb9b..01acd49 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 |