Add doom-protected-packages for excluding packages from autoremoval
This commit is contained in:
parent
e3a33f6a9e
commit
0c23ff43a4
3 changed files with 10 additions and 1 deletions
|
@ -108,7 +108,8 @@ Used by `doom/packages-autoremove'."
|
|||
(doom-initialize-packages t)
|
||||
(let ((package-selected-packages
|
||||
(append (mapcar 'car doom-packages) doom-core-packages)))
|
||||
(package--removable-packages)))
|
||||
(cl-set-difference (package--removable-packages)
|
||||
doom-protected-packages)))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-get-missing-packages ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue