]> git.eshelyaron.com Git - emacs.git/commit
Add an "mark upgradable packages" command to Package Menu mode.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 15 Sep 2011 01:57:54 +0000 (21:57 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 15 Sep 2011 01:57:54 +0000 (21:57 -0400)
commit25322144fc19c9e3dd04a6530e9dcdddffd7bccb
tree49e20a773d1b5282b78fdeeeda3de972f16fc413
parentd5fdf93f872b2ced7e1e41cee44677c71cac8b26
Add an "mark upgradable packages" command to Package Menu mode.

* lisp/emacs-lisp/package.el (package-alist): Fix risky-local-variable
declaration.
(package--add-to-archive-contents): If there is a duplicate entry
with an older version, remove it.
(package-menu-mark-delete, package-menu-mark-install)
(package-menu-mark-unmark): Make unused args optional.
(package-menu-mark-obsolete-for-deletion): Use
package-menu-get-status instead of a regexp search.
(package-menu-get-status): Use tabulated-list-entry.
(package-menu-mark-upgrades): New command.
(package-menu-mode-map): Bind it to U.
(package-menu-execute): Do installation before deletion.
(package-menu-refresh, package-menu-execute): Use derived-mode-p
instead of checking major-mode.
(package-menu--find-upgrades): New function.
lisp/ChangeLog
lisp/emacs-lisp/package.el