1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

lisp/emacs-lisp/package.el (package-menu-mode): Fix bug#14930.

Don't modify the global value of tabulated-list-revert-hook.
This commit is contained in:
Ari Roponen 2013-07-22 13:39:32 +02:00 committed by Juanma Barranquero
parent ac2bcafcdc
commit 6874724a3d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
* emacs-lisp/package.el (package-menu-mode): Don't modify the
global value of tabulated-list-revert-hook (bug#14930).
2013-07-22 Juanma Barranquero <lekktu@gmail.com>
* desktop.el: Require 'cl-lib.

View File

@ -1393,7 +1393,7 @@ Letters do not insert themselves; instead, they are commands.
("Description" 0 nil)])
(setq tabulated-list-padding 2)
(setq tabulated-list-sort-key (cons "Status" nil))
(add-hook 'tabulated-list-revert-hook 'package-menu--refresh)
(add-hook 'tabulated-list-revert-hook 'package-menu--refresh nil t)
(tabulated-list-init-header))
(defmacro package--push (pkg-desc status listname)