Fix package menu bug in marking obsolete packages for deletion.
* lisp/emacs-lisp/package.el (package-menu-mark-delete): Allow marking obsolete packages for deletion.
This commit is contained in:
parent
e2aeef63a6
commit
fb87e0fb94
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-08-28 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* emacs-lisp/package.el (package-menu-mark-delete): Allow marking
|
||||
obsolete packages for deletion.
|
||||
|
||||
2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
|
||||
|
||||
* help-mode.el (help-mode-map): Add special-mode-map to parent.
|
||||
|
|
|
@ -1440,7 +1440,7 @@ If optional arg BUTTON is non-nil, describe its associated package."
|
|||
(defun package-menu-mark-delete (num)
|
||||
"Mark a package for deletion and move to the next line."
|
||||
(interactive "p")
|
||||
(if (string-equal (package-menu-get-status) "installed")
|
||||
(if (member (package-menu-get-status) '("installed" "obsolete"))
|
||||
(tabulated-list-put-tag "D" t)
|
||||
(forward-line)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue