summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/package.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-09-21 20:31:30 -0700
committerGlenn Morris <rgm@gnu.org>2010-09-21 20:31:30 -0700
commitcd205c7615336d64c8af41ada17c53da29d90d44 (patch)
tree492ff051e3441f0435ae68a330ab682d08cb271d /lisp/emacs-lisp/package.el
parent4b9832a6f2031a95f72e06040c8860dca49bd2dd (diff)
downloademacs-cd205c7615336d64c8af41ada17c53da29d90d44.tar.gz
Tiny package.el fix.
* lisp/emacs-lisp/package.el (package-menu-mode): `revert-buffer-function' is not automatically buffer-local.
Diffstat (limited to 'lisp/emacs-lisp/package.el')
-rw-r--r--lisp/emacs-lisp/package.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 54c6a09dd9d..61a2985226d 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -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)