From a7d64a6e05aa450dda63f9b8b68e637471b223c5 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 28 Sep 2013 17:06:47 +0100 Subject: Replace auto-compile-mode with auto-async-byte-compile --- emacs/init.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index c179c278..a36ae20b 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -1043,10 +1043,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 -- cgit 1.4.1 From 466163baf6e62fd2bbb8b5fd44de2b5c702c9268 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 28 Sep 2013 17:34:02 +0100 Subject: Emacs: Remove unnecessary eval-and-compile --- emacs/init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index a36ae20b..111252da 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 -- cgit 1.4.1