lisp/emacs-lisp/package.el (package-menu-mode): Fix bug#14930.
authorAri Roponen <ari.roponen@gmail.com>
Mon, 22 Jul 2013 11:39:32 +0000 (13:39 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 22 Jul 2013 11:39:32 +0000 (13:39 +0200)
Don't modify the global value of tabulated-list-revert-hook.

lisp/ChangeLog
lisp/emacs-lisp/package.el

index d1140d1..349e6bb 100644 (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.
index 3233924..68d2880 100644 (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)