aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-04 23:30:04 +0800
committerGuangxiong Lin <[email protected]>2022-03-04 23:30:04 +0800
commit9aa4318a49bae86ca3d2efe7cf594e9e3b3cfc2e (patch)
tree29017abe73f24c2491cec78827e96a1e158af156
parentf512ce4b045ad65350616fe858a39dd5a520855e (diff)
downloaddotfiles-9aa4318a49bae86ca3d2efe7cf594e9e3b3cfc2e.tar.gz
dotfiles-9aa4318a49bae86ca3d2efe7cf594e9e3b3cfc2e.tar.bz2
dotfiles-9aa4318a49bae86ca3d2efe7cf594e9e3b3cfc2e.zip
Add auto-package-update (emacs)
-rw-r--r--.emacs.d/lisp/init-package.el8
1 files changed, 8 insertions, 0 deletions
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)