]> git.eshelyaron.com Git - emacs.git/commitdiff
Tiny package.el fix.
authorGlenn Morris <rgm@gnu.org>
Wed, 22 Sep 2010 03:31:30 +0000 (20:31 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 22 Sep 2010 03:31:30 +0000 (20:31 -0700)
* lisp/emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
is not automatically buffer-local.

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

index 9900472a59deee0161a7ebf609ec413cb4f9d38a..8bce44fc89d5891a85d6f2a079264db0a7c52960 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-22  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
+       is not automatically buffer-local.
+
 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
index 54c6a09dd9d901eb88c6021c6fa4633400fb0f6b..61a2985226dab5296e94cb6a6102cbed4599756f 100644 (file)
@@ -1273,7 +1273,7 @@ Letters do not insert themselves; instead, they are commands.
   (setq mode-name "Package Menu")
   (setq truncate-lines t)
   (setq buffer-read-only t)
-  (setq revert-buffer-function 'package-menu-revert)
+  (set (make-local-variable 'revert-buffer-function) 'package-menu-revert)
   (setq header-line-format
        (mapconcat
         (lambda (pair)