Fix package.el command substitutions

doom//autoremove and doom//install are more appropriate replacements for
package-autoremove and package-install-selected-packages, respectively.
This commit is contained in:
Henrik Lissner 2019-03-14 14:27:33 -04:00
parent 90f36bceff
commit 82622c2d8f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -540,8 +540,7 @@ calls."
;; Replace with Doom variants
;;;###autoload
(advice-add #'package-autoremove :override (λ! (doom-packages-autoremove current-prefix-arg)))
(advice-add #'package-autoremove :override #'doom//autoremove)
;;;###autoload
(advice-add #'package-install-selected-packages :override (λ! (doom-packages-install current-prefix-arg)))
(advice-add #'package-install-selected-packages :override #'doom//install)