diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-06-17 15:37:51 +0100 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-06-17 15:40:58 +0100 |
commit | a142b77028d6c418e0c26bfa093155f1a9cd433d (patch) | |
tree | f874d73a8b868a48eaa839ec52edb533064b0913 /lisp/emacs-lisp/let-alist.el | |
parent | 4b1613762fec33cd12c8484820392c5d7c74c83c (diff) | |
download | emacs-a142b77028d6c418e0c26bfa093155f1a9cd433d.tar.gz emacs-a142b77028d6c418e0c26bfa093155f1a9cd433d.tar.bz2 emacs-a142b77028d6c418e0c26bfa093155f1a9cd433d.zip |
* lisp/emacs-lisp/package.el: Revert buffer after any operation
Call `package-menu--post-refresh' after any operation that changes
the package database (`package-install' and `package-delete'). To
avoid performance issues in large transactions, these functions
add `post-refresh' to `post-command-hook' instead of calling it
immediately.
(package-menu--mark-or-notify-upgrades): New function.
(list-packages): Add it to `package--post-download-archives-hook'.
(package-menu--post-refresh): Lose the upgrade-checking code, add
code to remove itself from `post-command-hook'.
(package-install, package-delete): Add it to `post-command-hook'.
(package-menu-execute): Don't call `package-menu--post-refresh'.
Diffstat (limited to 'lisp/emacs-lisp/let-alist.el')
0 files changed, 0 insertions, 0 deletions