summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-09-29 14:06:01 +0100
committerAlan Pearce2013-09-29 14:06:01 +0100
commit71b7735857e86516d5cb827bcb31d4a4436d67c7 (patch)
tree80c4284e8ad29e20bbc8eb49a24124a99b243227
parentf690932f87c905c52ff0fbd90101fb35d17031cb (diff)
parent466163baf6e62fd2bbb8b5fd44de2b5c702c9268 (diff)
downloadnixfiles-71b7735857e86516d5cb827bcb31d4a4436d67c7.tar.lz
nixfiles-71b7735857e86516d5cb827bcb31d4a4436d67c7.tar.zst
nixfiles-71b7735857e86516d5cb827bcb31d4a4436d67c7.zip
Merge remote-tracking branch 'refs/remotes/origin/master'
-rw-r--r--emacs/init.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 6695f869..b1362005 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