I use use-package
to organize my init.el
. I noticed that all my declarations use :ensure t
. An example declaration is:
(use-package auto-complete
:ensure t
:diminish auto-complete-mode
:init (global-auto-complete-mode t))
Since all my use-package
declarations use :ensure t
, is there a way to modify use-package
to implicitly include :ensure t
without modifying use-package.el directly? Ideally I'd like not to use a differently-named function.
I'm a little bit familiar with advice-add
, but my impression is that this is used to add a hook or environment to a function, not to modify the function or macro itself.