Delete old packages when updating with auto-package-update
This commit is contained in:
parent
674e7dc5aa
commit
4a4fe4e62a
@ -339,6 +339,7 @@
|
|||||||
(use-package auto-package-update :ensure
|
(use-package auto-package-update :ensure
|
||||||
:commands auto-package-update-cli
|
:commands auto-package-update-cli
|
||||||
:config
|
:config
|
||||||
|
(setq auto-package-update-delete-old-versions t)
|
||||||
;; wrap apu-now to print to stdout for batch calling
|
;; wrap apu-now to print to stdout for batch calling
|
||||||
(defun auto-package-update-cli ()
|
(defun auto-package-update-cli ()
|
||||||
(cl-letf (((symbol-function 'apu--write-results-buffer) 'princ))
|
(cl-letf (((symbol-function 'apu--write-results-buffer) 'princ))
|
||||||
|
Loading…
Reference in New Issue
Block a user