From 9aa4318a49bae86ca3d2efe7cf594e9e3b3cfc2e Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Fri, 4 Mar 2022 23:30:04 +0800 Subject: Add auto-package-update (emacs) --- .emacs.d/lisp/init-package.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.emacs.d') diff --git a/.emacs.d/lisp/init-package.el b/.emacs.d/lisp/init-package.el index ab9b1fa..bad2d23 100644 --- a/.emacs.d/lisp/init-package.el +++ b/.emacs.d/lisp/init-package.el @@ -11,4 +11,12 @@ (require 'use-package) (setq use-package-always-ensure 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)) + + (provide 'init-package) -- cgit v1.2.3