* lisp/emacs-lisp/package.el (package-menu-mark-delete): Allow marking
obsolete packages for deletion.
+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.
(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)))