From 38ab771977e6511d02df06cb908824707d728303 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 13 Mar 2022 00:07:38 +0800 Subject: Refactor emacs config Use less use-package features --- .emacs.d/lisp/init-package.el | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to '.emacs.d/lisp/init-package.el') diff --git a/.emacs.d/lisp/init-package.el b/.emacs.d/lisp/init-package.el index bad2d23..1501de4 100644 --- a/.emacs.d/lisp/init-package.el +++ b/.emacs.d/lisp/init-package.el @@ -9,14 +9,11 @@ (package-refresh-contents) (package-install package))) (require 'use-package) -(setq use-package-always-ensure t) +(setq use-package-always-ensure t + use-package-always-defer t) -(use-package auto-package-update - :ensure t - :commands (auto-package-update-now) - :config - (setq auto-package-update-delete-old-versions t - auto-package-update-hide-results t)) - +(use-package auto-package-update) +(setq auto-package-update-delete-old-versions t + auto-package-update-hide-results t) (provide 'init-package) -- cgit v1.2.3