]> git.eshelyaron.com Git - emacs.git/commit
Do not consider external packages to be removable (Bug#27822)
authorYuri D'Elia <wavexx@thregr.org>
Tue, 17 Jul 2018 10:59:35 +0000 (12:59 +0200)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 12 Aug 2018 01:06:26 +0000 (21:06 -0400)
commitd2ad4ba4f3c5db6f6be7d73c17332e9bc4570e29
tree08b3c715d70af082a9bfa619ec91c50dab9115b5
parentec0995c40901a5b11d42c8a5fafd26771c76b17c
Do not consider external packages to be removable (Bug#27822)

Packages which are not directly user-installed shouldn't be autoremoved,
since they can be setup through a different path (via
`package-directory-list') where we have no authority over.
* lisp/emacs-lisp/package.el (package--user-installed-p): New
function.
(package--removable-packages): Use it.
lisp/emacs-lisp/package.el