Mercurial > emacs
changeset 111140:7aab0512e690
Make the *Packages* buffer read-only.
* emacs-lisp/package.el (package--generate-package-list): Make the
*Packages* buffer read-only.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 24 Oct 2010 11:37:21 -0400 |
parents | d383b5e03a3d |
children | 9f790d0f636f |
files | lisp/ChangeLog lisp/emacs-lisp/package.el |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sun Oct 24 15:27:37 2010 +0000 +++ b/lisp/ChangeLog Sun Oct 24 11:37:21 2010 -0400 @@ -1,3 +1,8 @@ +2010-10-24 Chong Yidong <cyd@stupidchicken.com> + + * emacs-lisp/package.el (package--generate-package-list): Make the + *Packages* buffer read-only. + 2010-10-24 Alan Mackenzie <acm@muc.de> * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
--- a/lisp/emacs-lisp/package.el Sun Oct 24 15:27:37 2010 +0000 +++ b/lisp/emacs-lisp/package.el Sun Oct 24 11:37:21 2010 -0400 @@ -1474,7 +1474,7 @@ (package-initialize) (let ((inhibit-read-only t) info-list name desc hold builtin) - (setq buffer-read-only nil) + (setq buffer-read-only t) (erase-buffer) ;; List installed packages (dolist (elt package-alist)