diff options
author | Alan Pearce | 2018-10-17 22:27:20 +0200 |
---|---|---|
committer | Alan Pearce | 2018-10-17 22:27:20 +0200 |
commit | 04282bd74329cfb3efecdf557c5bae4c892409aa (patch) | |
tree | 3129299ea7c705c81454275d233916ed90accea8 /emacs/.emacs.d/main.el | |
parent | 2f34d805d7a5ef43fd37c449b00a8c3affa2bc78 (diff) | |
download | nixfiles-04282bd74329cfb3efecdf557c5bae4c892409aa.tar.lz nixfiles-04282bd74329cfb3efecdf557c5bae4c892409aa.tar.zst nixfiles-04282bd74329cfb3efecdf557c5bae4c892409aa.zip |
Emacs: Only enable async byte compile if loaded
Diffstat (limited to 'emacs/.emacs.d/main.el')
-rw-r--r-- | emacs/.emacs.d/main.el | 3 |
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 |