aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-09-21 20:31:30 -0700
committerGlenn Morris2010-09-21 20:31:30 -0700
commitcd205c7615336d64c8af41ada17c53da29d90d44 (patch)
tree492ff051e3441f0435ae68a330ab682d08cb271d
parent4b9832a6f2031a95f72e06040c8860dca49bd2dd (diff)
downloademacs-cd205c7615336d64c8af41ada17c53da29d90d44.tar.gz
emacs-cd205c7615336d64c8af41ada17c53da29d90d44.zip
Tiny package.el fix.
* lisp/emacs-lisp/package.el (package-menu-mode): `revert-buffer-function' is not automatically buffer-local.
-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 @@
12010-09-22 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4 is not automatically buffer-local.
5
12010-09-21 Stefan Monnier <monnier@iro.umontreal.ca> 62010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo. 8 * 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.
1273 (setq mode-name "Package Menu") 1273 (setq mode-name "Package Menu")
1274 (setq truncate-lines t) 1274 (setq truncate-lines t)
1275 (setq buffer-read-only t) 1275 (setq buffer-read-only t)
1276 (setq revert-buffer-function 'package-menu-revert) 1276 (set (make-local-variable 'revert-buffer-function) 'package-menu-revert)
1277 (setq header-line-format 1277 (setq header-line-format
1278 (mapconcat 1278 (mapconcat
1279 (lambda (pair) 1279 (lambda (pair)