Remove references to old package api
This commit is contained in:
parent
c52935075f
commit
eb01401513
2 changed files with 8 additions and 8 deletions
|
@ -131,7 +131,7 @@ containing (PACKAGE-SYMBOL OLD-VERSION-LIST NEW-VERSION-LIST).
|
|||
|
||||
If INCLUDE-FROZEN-P is non-nil, check frozen packages as well.
|
||||
|
||||
Used by `doom/packages-update'."
|
||||
Used by `doom//packages-update'."
|
||||
(let (quelpa-pkgs elpa-pkgs)
|
||||
;; Separate quelpa from elpa packages
|
||||
(dolist (pkg (doom-get-packages t))
|
||||
|
@ -164,7 +164,7 @@ Used by `doom/packages-update'."
|
|||
"Return a list of symbols representing packages that are no longer needed or
|
||||
depended on.
|
||||
|
||||
Used by `doom/packages-autoremove'."
|
||||
Used by `doom//packages-autoremove'."
|
||||
(doom-initialize-packages t)
|
||||
(let ((package-selected-packages
|
||||
(append (mapcar #'car doom-packages) doom-core-packages)))
|
||||
|
@ -183,7 +183,7 @@ the package symbol, and whose CDR is a plist taken from that package's
|
|||
If INCLUDE-IGNORED-P is non-nil, includes missing packages that are ignored,
|
||||
i.e. they have an :ignore property.
|
||||
|
||||
Used by `doom/packages-install'."
|
||||
Used by `doom//packages-install'."
|
||||
(cl-loop for desc in (doom-get-packages)
|
||||
for (name . plist) = desc
|
||||
if (and (or include-ignored-p
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
;;
|
||||
;; The three key commands are:
|
||||
;;
|
||||
;; + `make install` or `doom/packages-install': Installs packages that are
|
||||
;; + `make install` or `doom//packages-install': Installs packages that are
|
||||
;; wanted, but not installed.
|
||||
;; + `make update` or `doom/packages-update': Updates packages that are
|
||||
;; + `make update` or `doom//packages-update': Updates packages that are
|
||||
;; out-of-date.
|
||||
;; + `make autoremove` or `doom/packages-autoremove': Uninstalls packages that
|
||||
;; + `make autoremove` or `doom//packages-autoremove': Uninstalls packages that
|
||||
;; are no longer needed.
|
||||
;;
|
||||
;; This system reads packages.el files located in each activated module (and one
|
||||
|
@ -42,7 +42,7 @@
|
|||
;; + `package-reinstall': `doom/reinstall-package'
|
||||
;; + `package-delete': `doom/delete-package'
|
||||
;; + `package-update': `doom/update-package'
|
||||
;; + `package-autoremove': `doom/packages-autoremove'
|
||||
;; + `package-autoremove': `doom//packages-autoremove'
|
||||
;; + `package-refresh-contents': `doom/refresh-packages'
|
||||
;;
|
||||
;; See core/autoload/packages.el for more functions.
|
||||
|
@ -712,7 +712,7 @@ This excludes compiled packages in `doom-packages-dir'.'"
|
|||
(advice-add #'package-delete :after #'doom*package-delete)
|
||||
|
||||
;; It isn't safe to use `package-autoremove', so get rid of it
|
||||
(advice-add #'package-autoremove :override #'doom/packages-autoremove)
|
||||
(advice-add #'package-autoremove :override #'doom//packages-autoremove)
|
||||
|
||||
(provide 'core-packages)
|
||||
;;; core-packages.el ends here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue