From 4a4fe4e62a156aa9f9b919020f1297fbeeb43ae0 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 15 Jun 2021 16:57:31 -0400 Subject: [PATCH] Delete old packages when updating with auto-package-update --- .emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 585772d..c1a1c15 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -339,6 +339,7 @@ (use-package auto-package-update :ensure :commands auto-package-update-cli :config + (setq auto-package-update-delete-old-versions t) ;; wrap apu-now to print to stdout for batch calling (defun auto-package-update-cli () (cl-letf (((symbol-function 'apu--write-results-buffer) 'princ))