]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/package.el: Don't erase tags on refresh
authorArtur Malabarba <bruce.connor.am@gmail.com>
Tue, 26 May 2015 08:57:17 +0000 (09:57 +0100)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 27 May 2015 19:42:29 +0000 (20:42 +0100)
commit1f7abd04bc695c86dc6b8ee5ad88c7639c2c8868
treed263f64355305346df784bfa0d60372287660c2e
parentf9fabb2bb099d944cc97a87933b86b9eae02d067
* lisp/emacs-lisp/package.el: Don't erase tags on refresh

(package-menu--post-refresh): Call `tabulated-list-print' with the
UPDATE argument.  This only affects the refresh action, the revert
action still erases tags.
(package-menu-get-status): Change `assq' to `assoc'.
(package-menu--mark-upgrades-1): New function.
(package-menu--mark-upgrades-pending): New variable.
(package-menu-mark-upgrades): Use them to delay marking until
after refresh is done.
(package-menu--post-refresh): Call mark-upgrades-1 if
mark-upgrades-pending is non-nil.
lisp/emacs-lisp/package.el