Commit 2b6b4f20 authored by Bastien Guerry's avatar Bastien Guerry

emacs-lisp/package.el (package-delete): Delete package completely

* emacs-lisp/package.el (package-delete): Also delete the package
name from `package-alist', not its description only.
parent e9be0a13
2014-01-07 Bastien Guerry <bzg@gnu.org>
* emacs-lisp/package.el (package-delete): Also delete the package
name from `package-alist', not its description only.
2014-01-07 Glenn Morris <rgm@gnu.org>
* help.el (view-external-packages):
......
......@@ -1231,7 +1231,7 @@ The file can either be a tar file or an Emacs Lisp file."
(delete-file signed-file)))
;; Update package-alist.
(let* ((name (package-desc-name pkg-desc)))
(delete pkg-desc (assq name package-alist)))
(delete (delete pkg-desc (assq name package-alist)) package-alist))
(message "Package `%s' deleted." (package-desc-full-name pkg-desc)))))
(defun package-archive-base (desc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment