summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 6695f86..b136200 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -75,8 +75,7 @@ Values: `desktop', `server', `laptop'")
         diminish
         use-package))
 
-(eval-and-compile
-  (require 'use-package))
+(require 'use-package)
 
 ;;;; Style
 
@@ -1043,10 +1042,9 @@ Also returns nil if pid is nil."
 
 ;;;; Programming
 
-(use-package auto-compile
+(use-package auto-async-byte-compile
   :ensure t
-  :commands (auto-compile-on-save-mode)
-  :init (add-hook 'emacs-lisp-mode-hook #'auto-compile-on-save-mode))
+  :init (add-hook 'emacs-lisp-mode-hook #'auto-async-byte-compile-mode))
 
 (use-package cc-mode
   :defer t