summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-08-11 17:30:41 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-08-11 17:30:41 -0700
commit6d71d0ca452f451ad0bddaf8c22a05f93f950be3 (patch)
treea077c149ee732c3b445017362db304dd9a38788c /configs
parent[emacs] Set correctly the path for "source". (diff)
downloademacs.d-6d71d0ca452f451ad0bddaf8c22a05f93f950be3.tar.gz
[emacs] Automatically update elpa packages.
Diffstat (limited to 'configs')
-rw-r--r--configs/rcs/emacs.d/config/fcuny-editor.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/configs/rcs/emacs.d/config/fcuny-editor.el b/configs/rcs/emacs.d/config/fcuny-editor.el
index 5af1ac8..bc9fbb4 100644
--- a/configs/rcs/emacs.d/config/fcuny-editor.el
+++ b/configs/rcs/emacs.d/config/fcuny-editor.el
@@ -1,6 +1,14 @@
 (eval-when-compile
   (require 'use-package))
 
+(use-package auto-package-update
+  :ensure t
+  :config
+  (setq auto-package-update-delete-old-versions t)
+  (setq auto-package-update-hide-results t)
+  (setq auto-package-update-last-update-day-filename (expand-file-name "last-update-day" fcuny-path-emacs-var))
+  (auto-package-update-maybe))
+
 (use-package bookmark
   :custom
   (bookmark-default-file fcuny-bookmarks-dir)