• Yuri D'Elia's avatar
    Do not consider external packages to be removable (Bug#27822) · d2ad4ba4
    Yuri D'Elia authored
    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.
    d2ad4ba4
package.el 147 KB