]> git.eshelyaron.com Git - emacs.git/commit
Prevent accidentally unregistering packages
authorGerd Möllmann <gerd@gnu.org>
Tue, 25 Oct 2022 12:04:36 +0000 (14:04 +0200)
committerGerd Möllmann <gerd@gnu.org>
Tue, 25 Oct 2022 12:04:36 +0000 (14:04 +0200)
commit08bff310812d8d0821c7b283a2d5e0fdca87f1ca
tree63ba449b87f5308ed6ea787f78bd2304e4dffde0
parentab77d86bc3e231a44b22ed2f97d95a7070fb73e0
Prevent accidentally unregistering packages

* lisp/emacs-lisp/pkg.el (pkg--remove-from-registry): Check
for package being eq to a registered package.
lisp/emacs-lisp/pkg.el