diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/package.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a6a81ff0fb2..03423942f4f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-08-28 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * emacs-lisp/package.el (package-menu-mark-delete): Allow marking | ||
| 4 | obsolete packages for deletion. | ||
| 5 | |||
| 1 | 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com> | 6 | 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com> |
| 2 | 7 | ||
| 3 | * help-mode.el (help-mode-map): Add special-mode-map to parent. | 8 | * help-mode.el (help-mode-map): Add special-mode-map to parent. |
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 88282606aa8..caf0ec2e8b8 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -1440,7 +1440,7 @@ If optional arg BUTTON is non-nil, describe its associated package." | |||
| 1440 | (defun package-menu-mark-delete (num) | 1440 | (defun package-menu-mark-delete (num) |
| 1441 | "Mark a package for deletion and move to the next line." | 1441 | "Mark a package for deletion and move to the next line." |
| 1442 | (interactive "p") | 1442 | (interactive "p") |
| 1443 | (if (string-equal (package-menu-get-status) "installed") | 1443 | (if (member (package-menu-get-status) '("installed" "obsolete")) |
| 1444 | (tabulated-list-put-tag "D" t) | 1444 | (tabulated-list-put-tag "D" t) |
| 1445 | (forward-line))) | 1445 | (forward-line))) |
| 1446 | 1446 | ||