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.
|
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)
|
(let (quelpa-pkgs elpa-pkgs)
|
||||||
;; Separate quelpa from elpa packages
|
;; Separate quelpa from elpa packages
|
||||||
(dolist (pkg (doom-get-packages t))
|
(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
|
"Return a list of symbols representing packages that are no longer needed or
|
||||||
depended on.
|
depended on.
|
||||||
|
|
||||||
Used by `doom/packages-autoremove'."
|
Used by `doom//packages-autoremove'."
|
||||||
(doom-initialize-packages t)
|
(doom-initialize-packages t)
|
||||||
(let ((package-selected-packages
|
(let ((package-selected-packages
|
||||||
(append (mapcar #'car doom-packages) doom-core-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,
|
If INCLUDE-IGNORED-P is non-nil, includes missing packages that are ignored,
|
||||||
i.e. they have an :ignore property.
|
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)
|
(cl-loop for desc in (doom-get-packages)
|
||||||
for (name . plist) = desc
|
for (name . plist) = desc
|
||||||
if (and (or include-ignored-p
|
if (and (or include-ignored-p
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
;;
|
;;
|
||||||
;; The three key commands are:
|
;; 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.
|
;; 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.
|
;; 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.
|
;; are no longer needed.
|
||||||
;;
|
;;
|
||||||
;; This system reads packages.el files located in each activated module (and one
|
;; This system reads packages.el files located in each activated module (and one
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
;; + `package-reinstall': `doom/reinstall-package'
|
;; + `package-reinstall': `doom/reinstall-package'
|
||||||
;; + `package-delete': `doom/delete-package'
|
;; + `package-delete': `doom/delete-package'
|
||||||
;; + `package-update': `doom/update-package'
|
;; + `package-update': `doom/update-package'
|
||||||
;; + `package-autoremove': `doom/packages-autoremove'
|
;; + `package-autoremove': `doom//packages-autoremove'
|
||||||
;; + `package-refresh-contents': `doom/refresh-packages'
|
;; + `package-refresh-contents': `doom/refresh-packages'
|
||||||
;;
|
;;
|
||||||
;; See core/autoload/packages.el for more functions.
|
;; 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)
|
(advice-add #'package-delete :after #'doom*package-delete)
|
||||||
|
|
||||||
;; It isn't safe to use `package-autoremove', so get rid of it
|
;; 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)
|
(provide 'core-packages)
|
||||||
;;; core-packages.el ends here
|
;;; core-packages.el ends here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue