mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user