Tiny package.el fix.

* lisp/emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
is not automatically buffer-local.
This commit is contained in:
Glenn Morris 2010-09-21 20:31:30 -07:00
parent 4b9832a6f2
commit cd205c7615
2 changed files with 6 additions and 1 deletions

View 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.

View 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)