doom-get-packages-to-install => doom-get-missing-packages
This commit is contained in:
parent
25962a6beb
commit
08b9623e84
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ Used by `doom/packages-autoremove'."
|
||||||
(package--removable-packages)))
|
(package--removable-packages)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom-get-packages-to-install ()
|
(defun doom-get-missing-packages ()
|
||||||
"Return a list of packages that aren't installed, but need to be. Each element
|
"Return a list of packages that aren't installed, but need to be. Each element
|
||||||
is a list whose CAR is the package symbol, and whose CDR is a plist taken from
|
is a list whose CAR is the package symbol, and whose CDR is a plist taken from
|
||||||
that package's `@package' declaration.
|
that package's `@package' declaration.
|
||||||
|
@ -175,7 +175,7 @@ appropriate."
|
||||||
(defun doom/packages-install ()
|
(defun doom/packages-install ()
|
||||||
"Interactive command for installing missing packages."
|
"Interactive command for installing missing packages."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((packages (doom-get-packages-to-install)))
|
(let ((packages (doom-get-missing-packages)))
|
||||||
(cond ((not packages)
|
(cond ((not packages)
|
||||||
(message "No packages to install!"))
|
(message "No packages to install!"))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue