summaryrefslogtreecommitdiff
path: root/lisp
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
parent4b9832a6f2031a95f72e06040c8860dca49bd2dd (diff)
downloademacs-cd205c7615336d64c8af41ada17c53da29d90d44.tar.gz
emacs-cd205c7615336d64c8af41ada17c53da29d90d44.tar.bz2
emacs-cd205c7615336d64c8af41ada17c53da29d90d44.zip
Tiny package.el fix.
* lisp/emacs-lisp/package.el (package-menu-mode): `revert-buffer-function' is not automatically buffer-local.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/package.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9900472a59d..8bce44fc89d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
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)