mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-18 18:05:07 +00:00
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.
This commit is contained in:
parent
e9be0a138c
commit
2b6b4f204c
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user