Commit fb87e0fb authored by Chong Yidong's avatar Chong Yidong
Browse files

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.
parent e2aeef63
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)))
......
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