From 6874724a3ddcb08578175939bc6d04ccf5d56682 Mon Sep 17 00:00:00 2001 From: Ari Roponen Date: Mon, 22 Jul 2013 13:39:32 +0200 Subject: [PATCH] lisp/emacs-lisp/package.el (package-menu-mode): Fix bug#14930. Don't modify the global value of tabulated-list-revert-hook. --- lisp/ChangeLog | 5 +++++ lisp/emacs-lisp/package.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d1140d12a37..349e6bb7420 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-07-22 Ari Roponen (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 * desktop.el: Require 'cl-lib. diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 32339249085..68d2880d33e 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -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)